<?php error_reporting(E_ALL); foreach (glob("cgi-bin/*.php") as $filename) { include_once $filename; } $config = ini::SettingArray('default.ini'); if (isset($_GET['ajax']) || isset($_POST['ajax'])) { if (isset($config['language'])) { include_once 'language/' . $config['language'] . '.php'; } if (file_exists('site/ajax/' . $_GET['ajax'] . '.php')) { include_once 'site/ajax/' . $_GET['ajax'] . '.php'; } else { echo json_encode(array('error' => 'Ajax not Found.')); } } elseif (isset($_GET['html']) || isset($_POST['html'])) { if (file_exists('site/html/' . $_GET['html'] . '.html')) { include_once 'site/html/' . $_GET['html'] . '.html'; } else { echo '<div id="exception">' . _SITE_NONE_MODULE . '</div>'; } } elseif (isset($_GET['doc']) || isset($_POST['doc'])) { include_once 'config.php'; if (isset($config['language'])) { include_once 'language/' . $config['language'] . '.php'; } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head>
<?php $control = new Session(); $database = new SyncDatabase(); $money = ini::SettingArray('default.ini'); $_SERVER['REQUEST_TIME']; $control->Value('USER_RENTAL'); $idContract = date('y', $_SERVER['REQUEST_TIME']); ?> <div align="right" id="event_main"> <input type="button" id="action_regis" class="button" title="<?php echo _IMAGE_TAG_REGIS; ?> " value=" " /> </div> <br /><div align="left"><h1><?php echo _HEAD_LIST_CONTRACT; ?> </h1></div> <table align="left" width="100%" border="0" cellspacing="0" cellpadding="0" style="border-top:#999 dashed 1px;"> <tr> <td align="center"><div> </div> <table align="left" width="100%" border="0" cellspacing="0" cellpadding="3" id="list-user"> <tr style="background-color:#666;color:#FFF;"> <td width="100" align="center" id="head-text"><strong><?php echo _CONTRACT_NUMBER; ?> </strong></td> <td width="140" align="center"><strong><?php echo _CONTRACT_FULLNAME; ?>