Jump to content

Intrebare Panel


AdY.Capone

Recommended Posts

Acum 13 ore, AdY.Capone a spus:

Salut, am o mica intrebare in legatura cu un panel. L-am pus pe webhost conectat la baza de date, totul este ok.

Dar cand te uiti in index sau in orice optiune nu apare si acel backround. Apare asa  http://imgur.com/HRNUzr2

Sper sa ma puteti ajuta.

 

Asa imi arata si mie cand am pus pe host de la hostinger , este posibil sa fie slab host-ul

Link to comment
Share on other sites

La host ginger nu merg panelurile din cate stiu, si daca ar merge trebuie voi sa puneti in config.php  linkul de la panel

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

La panel se conecteaza la baza de date prin connection.php

Ei bine nu apare niciun link acolo care trebuie pus.Doar conexiunea de facut.

Exista si config.php dar nu imi dau seama unde ar trebui

<?php

ob_start();

session_start();

include 'connection.php';

include 'functions.php';

 

$logged_in = 0;

if(isset($_SESSION['username']) && isset($_SESSION['password'])){

    $username = sec($_SESSION['username']);

    $password = sec($_SESSION['password']);

    

    $udata = get_row("SELECT * FROM playeraccounts WHERE playerName='$username' && playerPassword='$password'");

    if(isset($udata['playerID'])){

        $logged_in = 1;

        if(isset($_GET['logout'])){

            unset($_SESSION['username']);

            unset($_SESSION['password']);

            mysql_query("UPDATE playeraccounts SET rpgon=0 WHERE playerName='$username'");

            header('location: index.php');

        }

    }

}

function redirect_not_logged()

{

    $username = sec($_SESSION['username']);

    $password = sec($_SESSION['password']);

    

    $udata = get_row("SELECT * FROM playeraccounts WHERE playerName='$username' && playerPassword='$password'");

    $id = $udata['playerID'];

    $q = mysql_query("SELECT * FROM `playeraccounts` WHERE playerID = $id");

    while($row = mysql_fetch_array($q))

    {

         $rpg = $row['rpgon'];

    }

    if($rpg == 0)

    {    

    echo " Not Logged In ";

    header('location: index.php');

    }

    

}

// vars

$member_types = array(

    'Civilian',

    'Los Santos Police Department',

    'F.B.I',

    'National Guard',

    'Paramedic Department',

    'Guvernment',

    'The Russian Mafia',

    'Grove Street',

    'Los Aztecas',

    'The Rifa',

    'Ballas',

    'Los Vagos',

    'Hitman Agency',

    'School Instructors',

    'Taxi Company',

    'News Reporters',

);

$shop_types = array(0,

    'Bullet',

    'Cheetah',

    'FCR-900',

    'Clear 10FP',

    'Golden Account',

    'Infernus',

    'Change Nick',

    'Turismo',

    'Clear 1 Warn',

);

$rank = array(

 

    'Civil',

    'Rank 1',

    'Rank 2',

    'Rank 3',

    'Rank 4',

    'Rank 5',

    'Rank 6',

    'Leader'

);

 

$account_types = array(

    'No',

    'Yes'

);

 

$status_types = array(

    '<font color="#FF0000">Offline</font>',

    '<font color="#0DFF00">Online</font>',

    '<font color="#FEC300">Sleep</font>'

);

 

$status1_types = array(

    '<font color="#FF0000">&#8226</font>',

    '<font color="#0DFF00">&#8226</font>',

    '<font color="#0DFF00">&#8226</font>'

);

$ban_type = array(0, 'N', 'I');

$admins56 = array(0, 'Trial Admin', 'Junior Admin', 'General Admin', 'Head Admin', 'Lead Admin', 'Manager');

$helpers56 = array(0, 'Trial Helper', 'Helper', 'Lead Helper');

 

 

Problema credca este din Header.. dar nu stiu de unde. Panelul functioneaza, dar nu apare normal apare doar scrisul

Link to comment
Share on other sites

Este cumva panelul ca redzmax de este si pe forum?, daca da fisierul se numeste Config.class.php acolo trebuie sa il modifici

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.