Jump to content

Tiby08

Member
  • Posts

    4
  • Joined

  • Last visited

About Tiby08

Tiby08's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hello, Updated whmcs 7.1.2 and not work my tpl. Use this code: ... echo '<script type="text/javascript">s function Info(what){ if($("#sd").css("display") == "none"){ $("#sd").html("<div style=\"margin-top:10px;text-align:center\"><img src=\"/pic/test.png\"/></div><br/>"); $("#sd").slideDown(800, function() { $.post("api.php",{ doit : "info", client : what }, function(dz) { $("#sd").html(dz); }); }); }else $("#sd").slideUp(600); } </script>'; {/php} The problem i see this: <div style=\"margin-top:10px;text-align:center\"> How to use this: "\ Please help me.
  2. Ohh man, thanks. Working, thanks mate.
  3. tpl: {php} <?php $serviceid = $this->_tpl_vars['id']; $servicedata = get_query_vals("tblhosting","",array("id"=>$serviceid)); $params = array(); {/php} or, but not work..: {php} $serviceid = $this->_tpl_vars['id']; $servicedata = get_query_vals("tblhosting","",array("id"=>$serviceid)); $params = array(); {/php}
  4. Hello, I updated whmcs v6.0.1 and my template file not work, if i use code. Enabled the code on admin, but this is the problem: Fatal error: Using $this when not in object context in /home/*****/public_html/billing/vendor/smarty/smarty/libs/SmartyBC.class.php(465) : eval()'d code on line 3 SmartyBC.class.php 465 line: eval($content); So whats the problem? :-/
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated