Skip to content
This repository was archived by the owner on Dec 6, 2019. It is now read-only.

Commit afb71ff

Browse files
author
Nabeel Shahzad
committed
VMS-289 VMS-290 VMS-291 #close fixed
1 parent 1b958a2 commit afb71ff

File tree

13 files changed

+91
-42
lines changed

13 files changed

+91
-42
lines changed

admin/modules/Import/Import.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,9 @@ public function processimport()
177177
if($daysofweek == '')
178178
$daysofweek = '0123456';
179179

180+
// Replace a 7 (Sunday) with 0 (since PHP thinks 0 is Sunday)
181+
$daysofweek = str_replace('7', '0', $daysofweek);
182+
180183
# Check the distance
181184

182185
if($distance == 0 || $distance == '')

admin/modules/Operations/Operations.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,7 @@ public function schedulegrid()
423423
Config::Set('SCHEDULES_ORDER_BY', "{$sidx} {$sord}");
424424

425425
# Do a search without the limits so we can find how many records
426-
$count = count(SchedulesData::findSchedules($where));
427-
426+
$count = SchedulesData::countSchedules($where);
428427
if($count > 0)
429428
{
430429
$total_pages = ceil($count/$limit);

admin/templates/ops_airportlist.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jQuery("#grid").jqGrid('navGrid','#pager',
4040
function editairport(icao)
4141
{
4242
$('#jqmdialog').jqm({
43-
ajax:'<?php echo adminaction('/operations/editairport?icao=');?>'+icao,
43+
ajax:'<?php echo adminaction('/operations/editairport?icao=');?>'+icao
4444
}).jqmShow();
4545
}
4646
</script>

admin/templates/ops_schedules.tpl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ function deleteschedule(id)
4848
var answer = confirm("Are you sure you want to delete?")
4949
if (answer) {
5050
$.post("<?php echo adminaction('/operations/schedules');?>", { action: "deleteschedule", id: id },
51-
function() { $("#grid").trigger("reloadGrid"); });
51+
function()
52+
{
53+
$("#grid").trigger("reloadGrid");
54+
}
55+
);
5256
}
5357
}
5458

core/app.config.php

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -308,17 +308,19 @@
308308
{
309309
Template::SetTemplatePath(SITE_ROOT.'/admin/templates');
310310

311-
Config::Set('MODULES_PATH', SITE_ROOT.'/admin/modules');
312-
Config::Set('DEFAULT_MODULE', 'Dashboard');
313-
Config::Set('MODULES_AUTOLOAD', true);
311+
define('CODON_MODULES_PATH', SITE_ROOT.'/admin/modules');
312+
define('CODON_DEFAULT_MODULE', 'Dashboard');
314313
}
315314
else
316315
{
317316
Template::SetTemplatePath(Config::Get('BASE_TEMPLATE_PATH'));
318317

319-
Config::Set('MODULES_PATH', SITE_ROOT.'/core/modules');
318+
define('CODON_MODULES_PATH', SITE_ROOT.'/core/modules');
319+
define('CODON_DEFAULT_MODULE', 'Frontpage');
320+
321+
/*Config::Set('MODULES_PATH', SITE_ROOT.'/core/modules');
320322
Config::Set('DEFAULT_MODULE', 'Frontpage');
321-
Config::Set('MODULES_AUTOLOAD', true);
323+
Config::Set('MODULES_AUTOLOAD', true);*/
322324
}
323325

324326
/* Cache settings */
@@ -409,12 +411,12 @@
409411
'updates'
410412
)
411413
);
412-
/* VACentral */
413414

415+
/* VACentral */
414416
Config::Set('VACENTRAL_ENABLED', false);
415417
Config::Set('VACENTRAL_DEBUG_MODE', false);
416418
Config::Set('VACENTRAL_DEBUG_DETAIL', 0);
417-
Config::Set('VACENTRAL_API_SERVER', 'http://apidev.phpvms.net');
419+
Config::Set('VACENTRAL_API_SERVER', 'http://api.phpvms.net');
418420
Config::Set('VACENTRAL_API_KEY', '');
419421

420422
/**

core/classes/CodonRewrite.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public static function ProcessRewrite()
7474
# Which would eq. passing index.php/news/showall
7575
if($split_parameters == '')
7676
{
77-
$split_parameters = Config::Get('DEFAULT_MODULE');
77+
$split_parameters = CODON_DEFAULT_MODULE;
7878
}
7979

8080
# Now we split it all out, and store the peices

core/classes/MainController.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ public static function loadModules()
9898
global $NAVBAR;
9999
global $HTMLHead;
100100

101-
self::$ModuleList = self::getModulesFromPath(Config::Get('MODULES_PATH'));
101+
self::$ModuleList = self::getModulesFromPath(CODON_MODULES_PATH);
102102
if(empty(self::$ModuleList))
103103
{
104-
Debug::showCritical('No modules were found in module path! ('.Config::Get('MODULES_PATH').')');
104+
Debug::showCritical('No modules were found in module path! ('.CODON_MODULES_PATH.')');
105105
return;
106106
}
107107

core/common/PIREPData.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public static function getIntervalData($where_params, $grouping='M')
180180
SUM(p.fuelprice) as fuelprice,
181181
SUM(p.price) as price,
182182
SUM(p.expenses) as expenses,
183-
SUM(p.pilotpay * p.flighttime) as pilotpay
183+
SUM((TIME_TO_SEC(flighttime_stamp)/60) * (pilotpay/60)) as pilotpay
184184
FROM ".TABLE_PREFIX."pireps p";
185185

186186
$sql .= DB::build_where($where_params);

core/common/SchedulesData.class.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,28 @@ public static function findSchedules($params, $count = '', $start = '')
7373
return $ret;
7474
}
7575

76+
77+
/**
78+
* Get the total number of schedules based on criterea
79+
*
80+
* @param array $params key => value list
81+
* @return int Returns the total number
82+
*
83+
*/
84+
public static function countSchedules($params)
85+
{
86+
$sql = 'SELECT COUNT(s.id) as total
87+
FROM '.TABLE_PREFIX.'schedules AS s
88+
LEFT JOIN '.TABLE_PREFIX.'airports AS dep ON dep.icao = s.depicao
89+
LEFT JOIN '.TABLE_PREFIX.'airports AS arr ON arr.icao = s.arricao
90+
LEFT JOIN '.TABLE_PREFIX.'aircraft AS a ON a.id = s.aircraft ';
91+
92+
$sql .= DB::build_where($params);
93+
$res = DB::get_row($sql);
94+
95+
return $res->total;
96+
}
97+
7698
/**
7799
* Return information about a schedule (pass the ID)
78100
*/

core/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
931
1+
932

install/checkinstall.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ function success($title, $txt)
5252

5353

5454
/* Rest of the script begins here */
55+
echo "<strong>phpVMS Build Number: </strong> ".file_get_contents(ROOT_PATH.'/core/version');
56+
echo '<br /><br />';
5557

5658
echo '<strong>Checking PHP version</strong><br />';
5759
$version = phpversion();
@@ -63,13 +65,12 @@ function success($title, $txt)
6365
}
6466
else
6567
{
68+
$version = phpversion();
6669
success('OK', "PHP version is {$version}.x");
6770
}
6871
echo '<br />';
6972

7073
echo '<strong>ASP Tags</strong><br />';
71-
$version = phpversion();
72-
$version = substr($version, 0, 3);
7374

7475
$val = ini_get('asp_tags');
7576
if(!empty($val))
@@ -89,7 +90,6 @@ function success($title, $txt)
8990
echo '<br />';
9091
echo '<strong>Checking connectivity...</strong><br />';
9192
$file = new CodonWebService();
92-
//$file->setType('fopen');
9393
$contents = @$file->get(PHPVMS_API_SERVER.'/version');
9494

9595
if($contents == '')

install/hashlist

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fac7c09a2f7b3c46a3c4d20ccb0eb2fb *./install/templates/s2_site_setup.tpl
99
07f3cdbc917e3438e893995298471387 *./install/templates/footer.tpl
1010
2eb3981ca63cc0b739372502bcdbdac8 *./install/templates/success.tpl
1111
98159de4e2de83127db1931eb35f818c *./install/update_437.sql
12-
685ffe63c3a02fc1e4761db6603eb5df *./install/checkinstall.php
12+
bf00b0a3b459a481cb1e0df47682e8d2 *./install/checkinstall.php
1313
c6384626328e54dd77c534d04ff65a44 *./install/update_700.sql
1414
59e0a341d050b8ec19d8f423371c243e *./install/update.sql
1515
d41d8cd98f00b204e9800998ecf8427e *./install/index.php
@@ -27,15 +27,15 @@ d4d204c3560c283fa4d7a3a367473740 *./install/navdata.sql
2727
654a8ef74503b880f8526873986da3af *./install/install.php
2828
0ce9f88088bd78d869525b8b202fb1bd *./core/lang/en.lang.php
2929
02813e8f573062b56012fea15bccde90 *./core/common/MaintenanceData.class.php
30-
f53e180a3683b6fc8f7aacf3dcaada2d *./core/common/PIREPData.class.php
30+
3aab365eb7324f024df783f01a7d125b *./core/common/PIREPData.class.php
3131
38c88cbada3413d09adc5255428fa579 *./core/common/Auth.class.php
3232
26e225d004bd0b758c49f994453aaac7 *./core/common/jqgrid.class.php
3333
d8cc600bc66b4e2afb1cca5b433fdeb7 *./core/common/RegistrationData.class.php
3434
a97c3240cb1087b392fd3681bc0bb6ff *./core/common/StatsData.class.php
3535
4eba40ca591baa0a18f5896c92c77483 *./core/common/AwardsData.class.php
3636
ab63202ba065d26ba190dc4c1591f67b *./core/common/RSSFeed.class.php
3737
3377cdfbd3db0f618b825c03630b5b52 *./core/common/PilotGroups.class.php
38-
9dcbcb4e074b257c40292d8ab525c3b4 *./core/common/SchedulesData.class.php
38+
7effd313a0c2f3de986a4dc3d5825102 *./core/common/SchedulesData.class.php
3939
6e69bbf6f5d8b534b77f051a63cd9466 *./core/common/UserGroups.class.php
4040
b3e6a4926ee94b822c5d74fa158356b1 *./core/common/Countries.class.php
4141
d0680d4301fa638e605d0248a46cd4f8 *./core/common/PilotData.class.php
@@ -142,10 +142,10 @@ b23f32e4f6adef4849275b4922c455ae *./core/classes/Debug.class.php
142142
d96826e4415fc923497d5c9bd6eeac80 *./core/classes/CodonCache.class.php
143143
5ba6c886b93edf142519b533b573d547 *./core/classes/CodonWebService.class.php
144144
8e037ce1a5333ee8c02e7b0f533e013c *./core/classes/TemplateSet.class.php
145-
f2b45112b95baf6d5ad06a174306297b *./core/classes/MainController.class.php
145+
6183f56debee48476d788f501cfbd4cf *./core/classes/MainController.class.php
146146
fd37aa8d637c2ba981952ab95c5f89f5 *./core/classes/CodonForm.class.php
147147
a844dbb633b2cb74a9c4f65e503c96e2 *./core/classes/Util.class.php
148-
d410514a6b5f8e3f436b8ae3ffd47b8c *./core/classes/CodonRewrite.class.php
148+
ab76962c945c8c611814e355cd0ad940 *./core/classes/CodonRewrite.class.php
149149
8bc0a726762131516617e3d876ff90de *./core/classes/SessionManager.class.php
150150
c24936573bc8c875aee085610bb0e218 *./core/classes/CodonModule.class.php
151151
cf7005129f40c0b800ed987809debd89 *./core/classes/autoload.php
@@ -162,7 +162,7 @@ f45b5714e950fb9f0b7baadb5b1f08d1 *./core/classes/ezdb/ezdb_oracle.class.php
162162
c56b2790383f5891808777c40c03e269 *./core/hooks/system/postmoduleload.php.1
163163
d41d8cd98f00b204e9800998ecf8427e *./core/index.php
164164
d41d8cd98f00b204e9800998ecf8427e *./core/pages/index.php
165-
c7e138b27019ee369b9e31eec21df39f *./core/app.config.php
165+
33db30747e02bda5b2a7aed59e62a0ab *./core/app.config.php
166166
1e7faecc8a132a2691e2dd66a38b38dc *./core/modules/Schedules/Schedules.php
167167
e58ee78f8e857ad150badae9ba04dddc *./core/modules/news/news.php
168168
935862c6f2d8c067c49c4af2797abebd *./core/modules/XML/XML.php
@@ -187,6 +187,25 @@ a5e67fddae9c3f77e262cee30771db05 *./core/modules/Logout/Logout.php
187187
925c6ea3907403895286aff5d9838916 *./core/modules/Login/Login.php
188188
ad702069274d2c2fcafebc86806fc55f *./core/modules/RouteMap/RouteMap.php
189189
b6a7b95650eefadf97f1ee941b42e430 *./index.php
190+
5ef2cfd0c8c37a01a6288555fc0b9929 *./mobile/templates/home_index.tpl
191+
1673845577f5719879cddee06869d2ab *./mobile/templates/core_htmlhead.tpl
192+
d41d8cd98f00b204e9800998ecf8427e *./mobile/templates/core_htmlreq.tpl
193+
3b1b2b93f731665d82d566fa677b57b9 *./mobile/templates/core_success.tpl
194+
960b24fb5e6e3c66e033470cecc7ca48 *./mobile/templates/home_login.tpl
195+
83fc2840a66e53b6e2276837d1599e3a *./mobile/templates/core_error.tpl
196+
530e9875deb819e223b3b431c72d7c59 *./mobile/index.php
197+
cc311cc39ca03b491bb2ba1451c41ae9 *./mobile/lib/mobile/mobile.php
198+
ac6d99c630bbf131cd97c6ff95c06f21 *./mobile/lib/mobile/layout.tpl
199+
62b4ccafb57c6d4ad68310e31b9be8c5 *./mobile/lib/js/extensions/jqt.location.js
200+
594e49444cb823a1f98b59728419b309 *./mobile/lib/js/extensions/jqt.floaty.js
201+
e7b42ab7f6fa722a16140c92237ed7b4 *./mobile/lib/js/extensions/jqt.autotitles.js
202+
f2301fb7d6f82d39cd9cf0e45edfa61d *./mobile/lib/js/extensions/jqt.offline.js
203+
bb381e2d19d8eace86b34d20759491a5 *./mobile/lib/js/jqtouch/jquery.1.3.2.min.js
204+
ba7e15bb6261485bc4df9a1a8f549f58 *./mobile/lib/js/jqtouch/jqtouch.min.js
205+
2f40ea9d9d887c96afa57430eb7b1fa9 *./mobile/lib/js/jqtouch/jqtouch.js
206+
7bc05f2402439d5cbec9289f97e57c17 *./mobile/lib/js/jqtouch/jqtouch.transitions.js
207+
12733fd75a72f39cfbd7d43d4bbffa37 *./mobile/action.php
208+
311ae16f548add9f644d8511354a0efb *./mobile/modules/home/home.php
190209
a70283e88e1840bdfdee0b414d83ce4b *./admin/maintenance.php
191210
9640f3f6d81dd2adce0aa39d0f820da8 *./admin/templates/diff_showdiff.tpl
192211
88e45847491bc3720114b632e32f05bd *./admin/templates/sidebar_expenses.tpl
@@ -227,10 +246,10 @@ becefb73aa708db1993bb70e7c0c2027 *./admin/templates/sidebar_pending.tpl
227246
8d713e47e580563de7940d8919d71b82 *./admin/templates/ops_aircraftlist.tpl
228247
299bd7abf5df96bf2bd3a534a5cb3ef8 *./admin/templates/pirep_edit.tpl
229248
d074c0e9c23845e55f9a2b3dcb6063f2 *./admin/templates/settings_addcustomfield.tpl
230-
49afcef65c9aaebbe5c8e72f85f68f16 *./admin/templates/ops_airportlist.tpl
249+
d280d4d43c22d097eea7bbe38d9570c1 *./admin/templates/ops_airportlist.tpl
231250
713a3b7f8bc9f3976664dfa43aba820a *./admin/templates/sidebar_pirepfields.tpl
232251
c6e5f16b6f088fb5f455e1b84c84e687 *./admin/templates/import_form.tpl
233-
add3241ab1d897d16f88069c99ee3679 *./admin/templates/ops_schedules.tpl
252+
d88eb80c9970ba1232c9deebff9c0ba0 *./admin/templates/ops_schedules.tpl
234253
f6859dd73bb69367fa470ec32ee4096b *./admin/templates/settings_customfieldsform.tpl
235254
998c822282b68f3eaf12e3f178b6fa85 *./admin/templates/core_htmlreq.tpl
236255
81011a56d0b63f6d66f4343fccfc0f00 *./admin/templates/pilots_addawards.tpl
@@ -303,8 +322,8 @@ c1de104017f08ab3f33a2635c0a6acf2 *./admin/modules/Logs/Logs.php
303322
7f8afe3dfe944a0a010c23bcbd7e2467 *./admin/modules/Downloads/Downloads.php
304323
2184a2fe0b3e89301b3c0171b9435d0a *./admin/modules/MassMailer/MassMailer.php
305324
fb4ca464f4e518e63c31b409e48588bf *./admin/modules/SiteCMS/SiteCMS.php
306-
4ae5aef9a1625083528a7f754889815e *./admin/modules/Operations/Operations.php
307-
daa524b086eb1068ae81f9110688ff6d *./admin/modules/Import/Import.php
325+
66aae572260c20e3e4734bcd41af5ec2 *./admin/modules/Operations/Operations.php
326+
9a5e81ef4a746047e8aa4d980cc56680 *./admin/modules/Import/Import.php
308327
086a4da89e7f2c4f6dba1284cc3ddc3a *./admin/modules/Settings/Settings.php
309328
c32304847debef3cbef412e8102e7566 *./admin/modules/TemplateDiffs/TemplateDiffs.php
310329
b912b3305bb2e94554ce6ec162610d9c *./admin/modules/Maintenance/Maintenance.php

install/structure.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
<field Field="hub" Type="smallint(6)" Null="NO" Key="" Default="0" Extra="" />
7878
<field Field="fuelprice" Type="float" Null="NO" Key="" Default="0" Extra="" />
7979
<field Field="chartlink" Type="text" Null="NO" Key="" Extra="" />
80-
<key Table="phpvms_airports" Non_unique="0" Key_name="PRIMARY" Seq_in_index="1" Column_name="id" Collation="A" Cardinality="213" Null="" Index_type="BTREE" Comment="" />
81-
<key Table="phpvms_airports" Non_unique="0" Key_name="icao" Seq_in_index="1" Column_name="icao" Collation="A" Cardinality="213" Null="" Index_type="BTREE" Comment="" />
82-
<options Name="phpvms_airports" Engine="InnoDB" Version="10" Row_format="Compact" Rows="82" Avg_row_length="799" Data_length="65536" Max_data_length="0" Index_length="16384" Data_free="6291456" Auto_increment="1469" Create_time="2010-04-20 19:10:29" Collation="latin1_swedish_ci" Create_options="" Comment="" />
80+
<key Table="phpvms_airports" Non_unique="0" Key_name="PRIMARY" Seq_in_index="1" Column_name="id" Collation="A" Cardinality="82" Null="" Index_type="BTREE" Comment="" />
81+
<key Table="phpvms_airports" Non_unique="0" Key_name="icao" Seq_in_index="1" Column_name="icao" Collation="A" Cardinality="82" Null="" Index_type="BTREE" Comment="" />
82+
<options Name="phpvms_airports" Engine="InnoDB" Version="10" Row_format="Compact" Rows="553" Avg_row_length="118" Data_length="65536" Max_data_length="0" Index_length="16384" Data_free="6291456" Auto_increment="1469" Create_time="2010-04-20 19:10:29" Collation="latin1_swedish_ci" Create_options="" Comment="" />
8383
</table_structure>
8484
<table_structure name="phpvms_awards">
8585
<field Field="awardid" Type="int(11)" Null="NO" Key="PRI" Extra="auto_increment" />
@@ -350,21 +350,21 @@
350350
<field Field="notes" Type="text" Null="NO" Key="" Extra="" />
351351
<field Field="enabled" Type="int(11)" Null="NO" Key="" Default="1" Extra="" />
352352
<field Field="bidid" Type="int(11)" Null="NO" Key="" Default="0" Extra="" />
353-
<key Table="phpvms_schedules" Non_unique="0" Key_name="PRIMARY" Seq_in_index="1" Column_name="id" Collation="A" Cardinality="55" Null="" Index_type="BTREE" Comment="" />
354-
<key Table="phpvms_schedules" Non_unique="1" Key_name="depicao" Seq_in_index="1" Column_name="depicao" Collation="A" Cardinality="55" Null="" Index_type="BTREE" Comment="" />
355-
<key Table="phpvms_schedules" Non_unique="1" Key_name="flightnum" Seq_in_index="1" Column_name="flightnum" Collation="A" Cardinality="55" Null="" Index_type="BTREE" Comment="" />
356-
<key Table="phpvms_schedules" Non_unique="1" Key_name="depicao_arricao" Seq_in_index="1" Column_name="depicao" Collation="A" Cardinality="55" Null="" Index_type="BTREE" Comment="" />
357-
<key Table="phpvms_schedules" Non_unique="1" Key_name="depicao_arricao" Seq_in_index="2" Column_name="arricao" Collation="A" Cardinality="55" Null="" Index_type="BTREE" Comment="" />
358-
<key Table="phpvms_schedules" Non_unique="1" Key_name="code" Seq_in_index="1" Column_name="code" Collation="A" Cardinality="9" Null="" Index_type="BTREE" Comment="" />
359-
<options Name="phpvms_schedules" Engine="InnoDB" Version="10" Row_format="Compact" Rows="25" Avg_row_length="2621" Data_length="65536" Max_data_length="0" Index_length="65536" Data_free="6291456" Auto_increment="116" Create_time="2010-04-20 19:10:29" Collation="latin1_swedish_ci" Create_options="" Comment="" />
353+
<key Table="phpvms_schedules" Non_unique="0" Key_name="PRIMARY" Seq_in_index="1" Column_name="id" Collation="A" Cardinality="40" Null="" Index_type="BTREE" Comment="" />
354+
<key Table="phpvms_schedules" Non_unique="1" Key_name="depicao" Seq_in_index="1" Column_name="depicao" Collation="A" Cardinality="20" Null="" Index_type="BTREE" Comment="" />
355+
<key Table="phpvms_schedules" Non_unique="1" Key_name="flightnum" Seq_in_index="1" Column_name="flightnum" Collation="A" Cardinality="40" Null="" Index_type="BTREE" Comment="" />
356+
<key Table="phpvms_schedules" Non_unique="1" Key_name="depicao_arricao" Seq_in_index="1" Column_name="depicao" Collation="A" Cardinality="20" Null="" Index_type="BTREE" Comment="" />
357+
<key Table="phpvms_schedules" Non_unique="1" Key_name="depicao_arricao" Seq_in_index="2" Column_name="arricao" Collation="A" Cardinality="40" Null="" Index_type="BTREE" Comment="" />
358+
<key Table="phpvms_schedules" Non_unique="1" Key_name="code" Seq_in_index="1" Column_name="code" Collation="A" Cardinality="0" Null="" Index_type="BTREE" Comment="" />
359+
<options Name="phpvms_schedules" Engine="InnoDB" Version="10" Row_format="Compact" Rows="97" Avg_row_length="675" Data_length="65536" Max_data_length="0" Index_length="65536" Data_free="6291456" Auto_increment="116" Create_time="2010-04-20 19:10:29" Collation="latin1_swedish_ci" Create_options="" Comment="" />
360360
</table_structure>
361361
<table_structure name="phpvms_sessions">
362362
<field Field="id" Type="int(11)" Null="NO" Key="PRI" Extra="auto_increment" />
363363
<field Field="pilotid" Type="int(11)" Null="NO" Key="" Extra="" />
364364
<field Field="ipaddress" Type="varchar(25)" Null="NO" Key="" Extra="" />
365365
<field Field="logintime" Type="datetime" Null="NO" Key="" Extra="" />
366-
<key Table="phpvms_sessions" Non_unique="0" Key_name="PRIMARY" Seq_in_index="1" Column_name="id" Collation="A" Cardinality="191" Null="" Index_type="BTREE" Comment="" />
367-
<options Name="phpvms_sessions" Engine="MyISAM" Version="10" Row_format="Dynamic" Rows="191" Avg_row_length="32" Data_length="6152" Max_data_length="281474976710655" Index_length="4096" Data_free="0" Auto_increment="1926" Create_time="2009-10-31 20:05:09" Update_time="2010-04-26 13:53:37" Check_time="2010-04-20 19:10:29" Collation="latin1_swedish_ci" Create_options="" Comment="" />
366+
<key Table="phpvms_sessions" Non_unique="0" Key_name="PRIMARY" Seq_in_index="1" Column_name="id" Collation="A" Cardinality="198" Null="" Index_type="BTREE" Comment="" />
367+
<options Name="phpvms_sessions" Engine="MyISAM" Version="10" Row_format="Dynamic" Rows="198" Avg_row_length="32" Data_length="6412" Max_data_length="281474976710655" Index_length="4096" Data_free="0" Auto_increment="1933" Create_time="2009-10-31 20:05:09" Update_time="2010-04-27 14:08:00" Check_time="2010-04-20 19:10:29" Collation="latin1_swedish_ci" Create_options="" Comment="" />
368368
</table_structure>
369369
<table_structure name="phpvms_settings">
370370
<field Field="id" Type="int(11)" Null="NO" Key="PRI" Extra="auto_increment" />
@@ -383,7 +383,7 @@
383383
<field Field="lastupdate" Type="datetime" Null="NO" Key="" Extra="" />
384384
<key Table="phpvms_updates" Non_unique="0" Key_name="PRIMARY" Seq_in_index="1" Column_name="id" Collation="A" Cardinality="9" Null="" Index_type="BTREE" Comment="" />
385385
<key Table="phpvms_updates" Non_unique="1" Key_name="name" Seq_in_index="1" Column_name="name" Collation="A" Cardinality="9" Null="" Index_type="BTREE" Comment="" />
386-
<options Name="phpvms_updates" Engine="MyISAM" Version="10" Row_format="Dynamic" Rows="9" Avg_row_length="33" Data_length="300" Max_data_length="281474976710655" Index_length="3072" Data_free="0" Auto_increment="10" Create_time="2009-12-20 17:51:29" Update_time="2010-04-26 13:52:51" Check_time="2010-04-20 19:10:29" Collation="latin1_swedish_ci" Create_options="" Comment="" />
386+
<options Name="phpvms_updates" Engine="MyISAM" Version="10" Row_format="Dynamic" Rows="9" Avg_row_length="33" Data_length="300" Max_data_length="281474976710655" Index_length="3072" Data_free="0" Auto_increment="10" Create_time="2009-12-20 17:51:29" Update_time="2010-04-27 14:04:34" Check_time="2010-04-20 19:10:29" Collation="latin1_swedish_ci" Create_options="" Comment="" />
387387
</table_structure>
388388
</database>
389389
</mysqldump>

0 commit comments

Comments
 (0)