• 01-10-2009, 10:45:10
    #1
    Üyeliği durduruldu
    Evet Arkadaşlar Burada Anlatacağım Versiona Göre Değişiyor.
    3.8 Öncesi Versionlarda.
    Aşşagıda Gördügün.BankaBilgileri.PHp dosyasıdır. tpl dosyasına kendi html ile banka bilgilerini yazabilirsin. şimdi bankabil.php'ye bunları kaydediyorsun.bankabilgileri.php diye.
    <?php /*
    [Release by DivX_4uS]
    */
    ?><?
    define ('CLIENTAREA', true);
    require 'dbconnect.php';
    require 'includes/functions.php';
    if ($revokelocallicense)
    {
    $query = 'UPDATE tblconfiguration SET value=\'\' WHERE setting=\'License\'';
    $result = mysql_query ($query);
    }
    $pagetitle = $_LANG['bankabilgileri'];
    $breadcrumbnav = '<a href="bankabilgileri.php">' . $_LANG['bankabilgileri'] . '</a>';
    $templatefile = 'bankabilgileri';
    $pageicon = '';
    require 'init.php';
    $smarty->assign ('showpresales', $CONFIG['PreSalesQuestions']);
    require 'display.php';
    ?>
    3.8 ve Sonrası içinse.
    <?php
    define("CLIENTAREA",true);
    require("dbconnect.php");
    require("includes/functions.php");
    require("includes/clientareafunctions.php");
    $pagetitle = $_LANG['clientareatitle'];
    $pageicon = "images/support/clientarea.gif";
    $breadcrumbnav = '<a href="index.php">'.$_LANG['globalsystemname'].'</a>';
    $breadcrumbnav .= ' > <a href="mypage.php">My Page</a>'; 
    initialiseClientArea($pagetitle,$pageicon,$breadcrumbnav);
    if ($_SESSION['uid']) {
      # User is Logged In - put any code you like here
    } 
    # To assign variables in Smarty use the following syntax.
    # This can then be used as {$variablename} in the template
    $smartyvalues["variablename"] = $value; 
    # Define the template filename to be used without the .tpl extension
    $templatefile = "homepage"; 
    outputClientArea($templatefile);
    ?>
    Alıntıdır:whmcsturkiye.com
  • 18-10-2009, 04:31:58
    #2
    Üyeliği durduruldu
    paylastıgınız için öncelikle teşekkür ederim malesef yaptım ama olmadı yardım edebılırmısınız?