Guest User

Untitled

a guest
Oct 8th, 2016
146
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. // For login / logout function
  4. ob_start();
  5.  
  6. session_start();
  7. error_reporting(1);
  8.  
  9. $mysqli = array (
  10. 'SQL_HOST' => '188.213.212.139',
  11. 'SQL_USER' => '',
  12. 'SQL_PASS' => '',
  13. 'SQL_DB' => '',
  14. 'SQL_ACCOUNTS' => 'users'
  15. );
  16. $Informatii = array (
  17. 'NumeleComunitatii' => 'Real-Game',
  18. 'Creator' => 'MegaGamingPro',
  19. 'Criptare' => '0',
  20. 'IP_SERVER' => 'rpg.real-game.ro',
  21. );
  22.  
  23. // Arrays variabiles
  24. $mysqli_tables = array (
  25. #array #table
  26. 'players' => 'players',
  27. 'bizz' => 'business',
  28. 'info' => 'informations',
  29. 'actions' => 'actions',
  30. 'bans' => 'bans',
  31. 'house' => 'houses',
  32. 'cars' => 'cars'
  33. );
  34. $jobs = array (
  35. "Arms Dealer",
  36. "Farmer",
  37. "Detectiv",
  38. "Remorcher",
  39. "Electronist",
  40. "Gunoier",
  41. "Miner",
  42. "Chelner",
  43. "Conductor",
  44. "Trucker"
  45. );
  46. $pagina = '';
  47.  
  48. $VehicleName = Array(
  49. 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',
  50. 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',
  51. 486 => 'Dozer', 487 => 'Maverick', 488 => 'Vcn maverick', 489 => 'Rancher', 490 => 'Fbi rancher', 491 => 'Virgo', 492 => 'Greenwood', 493 => 'Jetmax', 494 => 'Hotring', 495 => 'Sandking', 496 => 'Blistac', 497 => 'Police maverick', 498 => 'Boxville', 499 => 'Benson', 500 => 'Mesa', 501 => 'Rc goblin', 502 => 'Hotring a', 503 => 'Hotring 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',
  52. 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',
  53. 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 (damage)', 606 => 'Bag box a', 607 => 'Bag box b', 608 => 'Stairs', 609 => 'Boxville (black)', 610 => 'Farm trailer', 611 => 'Utility van trailer'
  54. );
  55.  
  56.  
  57. // $DB_H -> MySQLi Connect Variable [used in mysqli_query(), mysqli_real_escape_string() and Connect to MySQLi server]
  58. $DB_H = mysqli_connect($mysqli['SQL_HOST'], $mysqli['SQL_USER'], $mysqli['SQL_PASS'], $mysqli['SQL_DB']) or die('Conecțiunea nu a putut fi efectuată te rog să verifici confingurația la bază.');
  59. mysqli_query($DB_H, "SET NAMES utf8");
  60. // Conexiune.
  61.  
  62. // Sign out function
  63. if(isset($_GET["out"]))
  64. {
  65. // Unset session [username & password]
  66. unset($_SESSION['id']);
  67. unset($_SESSION['username']);
  68. unset($_SESSION['password']);
  69.  
  70. // Redirecting
  71. Header('Location: /panel');
  72. }
  73. ?>
RAW Paste Data