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.provider.php

30 lines
661 B
PHP

<?php
if($_VPS !== true) { die("x"); }
class Provider extends CPHPDatabaseRecordClass
{
public $fill_query = "SELECT * FROM providers WHERE `Id` = '%d'";
public $verify_query = "SELECT * FROM providers WHERE `Id` = '%d'";
public $table_name = "providers";
public $prototype = array(
'string' => array(
'Name' => "Name",
'Url' => "Url",
'CompanyLocation' => "Location"
),
'numeric' => array(
'PlanCount' => "PlanCount",
'UsesMaxmind' => "Maxmind"
),
'boolean' => array(
'Visible' => "Visible",
'CustomPossible' => "CustomPossible"
),
'timestamp' => array(
'SubmissionDate' => "SubmissionDate"
)
);
}
?>