• 03-04-2010, 21:00:13
    #1
    Üyeliği durduruldu
    merhaba whmcs 4.1.2 sürümünü kullanıyorum ancak yeni sayfa eklerken kullandığım kodlarda boş sayfa çıkıyor

    <?php
    ?>
    <?
    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['windows-hosting-paketleri'];
    $breadcrumbnav = '<a href="windows-hosting-paketleri.php">' . $_LANG['windows-hosting-paketleri'] . '</a>';
    $templatefile = 'windows-hosting-paketleri';
    $pageicon = '';
    require 'init.php';
    $smarty->assign ('showpresales', $CONFIG['PreSalesQuestions']);
    require 'display.php';
    ?>
    windows-hosting-paketleri.tpl zaten mevcut yarıdm lütfen
  • 04-04-2010, 14:25:59
    #2
    Üyeliği durduruldu
    Kendi temasınımı kullanıyorsun yoksa başka bir hazır temamı ?
    Hazır ise php dosyasına şu kodu yaz

    <?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 = "windows-hosting-paketleri"; 
    
    outputClientArea($templatefile);
    
    ?>
  • 04-04-2010, 15:35:50
    #3
    Üyeliği durduruldu
    TurkoServer adlı üyeden alıntı: mesajı görüntüle
    Kendi temasınımı kullanıyorsun yoksa başka bir hazır temamı ?
    Hazır ise php dosyasına şu kodu yaz

    <?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 = "windows-hosting-paketleri"; 
    
    outputClientArea($templatefile);
    
    ?>
    oldu çok saol
  • 04-04-2010, 17:15:08
    #4
    Üyeliği durduruldu
    Yardımcı olduysa ne mutlu bana