battles/admin/test.php

28 lines
690 B
PHP

<?php
include '../config.php';
spl_autoload_register(function ($class_name) {
include '../classes/' . $class_name . '.php';
});
//include_once '../classes/n.php';
//include_once '../classes/nick.php';
//include '../functions.php';
//showinf_pers(10736,1);
//showinf_pers(10736);
$row = db::c()->query('select * from `bank` WHERE owner=10929 OR owner=11221')->fetch_assoc_array();
print_r($row);
echo '<hr>';
$row2 = db::c()->query('select * from `bank` WHERE owner=10929 OR owner=11221')->fetch_row_array();
print_r($row2);
echo '<hr>';
//echo n::show(11263)."<br>".n::show(11221)->geninf();
echo '<hr>';
echo nick::id(11263)->inf();
echo '<hr>';
echo nick::id(11263)->geninf(1);