Jump to content
  • 0

Problema Urgenta la panel


TeamViewer

Question

5 answers to this question

Recommended Posts

  • 0

asta am 

<?php
ob_start();
session_start();
include 'server-sql.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 users WHERE name='$username' && password='$password'");
    if(isset($udata['id'])){
        $logged_in = 1;
        if(isset($_GET['logout'])){
            unset($_SESSION['username']);
            unset($_SESSION['password']);
            mysql_query("UPDATE users SET rpgon=0 WHERE name='$username'"); 
            header('location: index.php');
        }
    }
}
function redirect_not_logged()
{
    $username = sec($_SESSION['username']);
    $password = sec($_SESSION['password']);
    
    $udata = get_row("SELECT * FROM users WHERE name='$username' && password='$password'");
    $id = $udata['id'];
    $q = mysql_query("SELECT * FROM `users` WHERE id = $id");
    while($row = mysql_fetch_array($q))
    {
         $rpg = $row['rpgon'];
    }
    if($rpg == 0) 
    {    
    echo " Not Logged In "; 
    header('location: login.php');
    }
    
}
// vars
$member_types = array(
    'Civilian',
    'Los Santos Police Department',
    'FBI',
    'National Guard',
    'Los Aztecas',
    'Grove Street',
    'Los Vagos',
    'Civilian',
    'Las Venturas Police Department',
    'News Reporters',
    'Ballas Family',
    'Hitman Agency',
    'School Instructors LV',
    'Taxi LS',
    'Paramedic Department LV'
);

$VehicleName = array( 
    400 => 'Landstalker', 401 => 'Bravura', 402 => 'Buffalo', 403 => 'Linerunner', 404 => 'Perenail', 405 => 'Sentinel', 406 => 'Dumper', 407 => 'Firetruck', 408 => 'Trashmaster', 409 => 'Stretch', 410 => 'Manana', 411 => 'Infernus', 412 => 'Voodoo', 413 => 'Pony', 414 => 'Mule', 415 => 'Cheetah', 416 => 'Ambulance', 417 => 'Levetian', 418 => 'Moonbeam', 419 => 'Esperanto', 420 => 'Taxi', 421 => 'Washington', 422 => 'Bobcat', 423 => 'Mr whoopee', 424 => 'Bf injection', 425 => 'Hunter', 426 => 'Premier', 427 => 'Enforcer', 428 => 'Securicar', 429 => 'Banshee', 430 => 'Predator', 431 => 'Bus', 432 => 'Rhino', 433 => 'Barracks', 434 => 'Hotknife', 435 => 'Artic trailer 1', 436 => 'Previon', 437 => 'Coach', 438 => 'Cabbie', 439 => 'Stallion', 440 => 'Rumpo', 441 => 'RC Bandit', 
    442 => 'Romero', 443 => 'Packer', 444 => 'Monster', 445 => 'Admiral', 446 => 'Squalo', 447 => 'Seasparrow', 448 => 'Pizza boy', 449 => 'Tram', 450 => 'Artic trailer 2', 451 => 'Turismo', 452 => 'Speeder', 453 => 'Reefer', 454 => 'Tropic', 455 => 'Flatbed', 456 => 'Yankee', 457 => 'Caddy', 458 => 'Solair', 459 => 'Top fun', 460 => 'Skimmer', 461 => 'PCJ-600', 462 => 'Faggio', 463 => 'Freeway', 464 => 'Rc baron', 465 => 'Rc raider', 466 => 'Glendale', 467 => 'Oceanic', 468 => 'Sanchez', 469 => 'Sparrow', 470 => 'Patriot', 471 => 'Quad', 472 => 'Coastgaurd', 473 => 'Dinghy', 474 => 'Hermes', 475 => 'Sabre', 476 => 'Rustler', 477 => 'Zr 350', 478 => 'Walton', 479 => 'Regina', 480 => 'Comet', 481 => 'Bmx', 482 => 'Burriro', 483 => 'Camper', 484 => 'Marquis', 485 => 'Baggage',  
    486 => 'Dozer', 487 => 'Maverick', 488 => 'VCN Maverick', 489 => 'Rancher', 490 => 'Fbi rancher', 491 => 'Virgo', 492 => 'Greenwood', 493 => 'Jetmax', 494 => 'Hotring Racer', 495 => 'Sandking', 496 => 'Blistac', 497 => 'Police maverick', 498 => 'Boxville', 499 => 'Benson', 500 => 'Mesa', 501 => 'RC Goblin', 502 => 'Hotring Racer A', 503 => 'Hotring Racer B', 504 => 'Blood ring banger', 505 => 'Rancher (lure)', 506 => 'Super gt', 507 => 'Elegant', 508 => 'Journey', 509 => 'Bike', 510 => 'Mountain bike', 511 => 'Beagle', 512 => 'Cropduster', 513 => 'Stuntplane', 514 => 'Petrol', 515 => 'Roadtrain', 516 => 'Nebula', 517 => 'Majestic', 518 => 'Buccaneer', 519 => 'Shamal', 520 => 'Hydra', 521 => 'FCR-900', 522 => 'NRG-500', 523 => 'Hpv 1000', 524 => 'Cement', 525 => 'Towtruck', 526 => 'Fortune', 
    527 => 'Cadrona', 528 => 'FBI Truck', 529 => 'Williard', 530 => 'Fork lift', 531 => 'Tractor', 532 => 'Combine', 533 => 'Feltzer', 534 => 'Remington', 535 => 'Slamvan', 536 => 'Blade', 537 => 'Freight', 538 => 'Streak', 539 => 'Vortex', 540 => 'Vincent', 541 => 'Bullet', 542 => 'Clover', 543 => 'Sadler', 544 => 'Firetruck la', 545 => 'Hustler', 546 => 'Intruder', 547 => 'Primo', 548 => 'Cargobob', 549 => 'Tampa', 550 => 'Sunrise', 551 => 'Merit', 552 => 'Utility van', 553 => 'Nevada', 554 => 'Yosemite', 555 => 'Windsor', 556 => 'Monster a', 557 => 'Monster b', 558 => 'Uranus', 559 => 'Jester', 560 => 'Sultan', 561 => 'Stratum', 562 => 'Elegy', 563 => 'Raindance', 564 => 'Rc tiger', 565 => 'Flash', 566 => 'Tahoma', 567 => 'Savanna', 568 => 'Bandito', 569 => 'Freight flat', 
    570 => 'Streak', 571 => 'Kart', 572 => 'Mower', 573 => 'Duneride', 574 => 'Sweeper', 575 => 'Broadway', 576 => 'Tornado', 577 => 'AT-400', 578 => 'DFT-30', 579 => 'Huntley', 580 => 'Stafford', 581 => 'Bf 400', 582 => 'News Van', 583 => 'Tug', 584 => 'Petrol tanker', 585 => 'Emperor', 586 => 'Wayfarer', 587 => 'Euros', 588 => 'Hotdog', 589 => 'Club', 590 => 'Freight box', 591 => 'Artic trailer 3', 592 => 'Andromada', 593 => 'Dodo', 594 => 'Rc cam', 595 => 'Launch', 596 => 'Cop car ls', 597 => 'Cop car sf', 598 => 'Cop car lv', 599 => 'Ranger', 600 => 'Picador', 601 => 'Swat tank', 602 => 'Alpha', 603 => 'Phoenix', 604 => 'Glendale (damage)', 605 => 'Sadler', 606 => 'Bag box a', 607 => 'Bag box b', 608 => 'Stairs', 609 => 'Boxville (black)', 610 => 'Farm trailer', 611 => 'Utility van trailer' 
); 
$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');

?>

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
Answer this question...

×   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.