Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   TBDev (http://www.bvlist.com/forumdisplay.php?f=20)
-   -   tpl and php help (http://www.bvlist.com/showthread.php?t=9827)

elite001 17th March 2014 17:58

tpl and php help
 
:sos:
Hy, i need your help to programming chat.tpl. This is one customised torrent motor. The code is consequential:

Code:

{include file='fejresz.tpl'}
{* a fejlec csatolasa *}



{* infopanel csatolása *}
{include file='infopanel.tpl'}


{literal}
 
{/literal}


        {foreach from=$OLDAL key=i item=ertek}
                {$ertek}
        {/foreach}

{ if $mehet== true}

{'Üzenőfal'|section_open}

       

               

                       

                       

               

       

       
       

               

                       

Üzenet küldés


               

               
                       
                               
                               
                               
                                       
                               
                               
                               
                       

                                       
                               

                                       
                                       
                                               
                                               
                                               
                                       
                                               
                                       
                                               
                                                                                       
                               
Üzenet szine:
                                       
                               

                                       
                               

       
       




{'Chat'|section_end}




{/if}


{literal}


{/literal}
{* a labresz csatolasa *}
{include file='labresz.tpl'}

and php code

PHP Code:

<?php
ob_start
();
define('SZINT',666);
require_once(
'rendszer/mag.php');
$belep=new belep(); // user belépés chek
$old=new old(); //oldalelemek betöltése

$smarty->assign('mehet',true);
$smarty->assign('OLDAL',$OLDAL);
$smarty->display('uzenofal.tpl');
ob_end_flush ();
?>

and script

Code:

eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('2 7=v;2 f=\'H\';$().C(0(){c()});0 c(){o.l({n:"k.p",j:"h",i:{g:\'B\',r:7,D:f},E:0(a){$(\'#F\').A(a)}});f=\'u\'}$(\'#5\').8(\'t\',0(e){(e.4)?4=e.4:4=e.w;m(4==x){d();6 9}6 G});$(\'#O\').8(\'s\',0(){d();6 9});0 d(){2 a=$(\'#5\').3();2 b=$(\'#R\').3();m(a.S<1)6 9;o.l({n:"k.p",j:"h",i:{g:\'T\',N:a,r:7,M:b}});$(\'#5\').3(\'\')}$(\'.J\').8(\'s\',0(){q=$(\'#5\').3()+$(K).P(\'Q\');$(\'#5\').3(q)});2 I=y.z("c()",L);',56,56,'function||var|val|keyCode|chat_uzi|return|UZANOFALTOPICID|bind|false|||contentUpdate|sendComment||FRISTUPDATE|modul|POST|data|type|chat_admin|ajaxQueue|if|url|jQuery|php|newVal|id|click|keypress|no|14|which|13|self|setInterval|prepend|gethsz|ready|extra|success|uzifal|true|yes|uzenetFrissites|copy|this|UZENOFAL_REFRESH_TIME|szin|text|kuldes|attr|title|colors|length|addhsz'.split('|'),0,{}))


All times are GMT +2. The time now is 18:11.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.