You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vpslist/classes/class.location.php

30 lines
653 B
PHP

<?php
if($_VPS !== true) { die("x"); }
class Location extends CPHPDatabaseRecordClass
{
public $fill_query = "SELECT * FROM locations WHERE `Id` = '%d'";
public $verify_query = "SELECT * FROM locations WHERE `Id` = '%d'";
public $table_name = "locations";
public $prototype = array(
'string' => array(
'Location' => "Location",
'TestIp4' => "TestIp4",
'TestIp6' => "TestIp6",
'TestFile' => "TestFile"
),
'numeric' => array(
'CountryId' => "CountryId",
'ProviderId' => "ProviderId"
),
'country' => array(
'Country' => "CountryId"
),
'provider' => array(
'Provider' => "ProviderId"
)
);
}
?>