Location: PHPKode > projects > WorkOrder TS > workorder-ts/setup_files/create_tables.php
<?PHP if( $_jQfL8==True ) { $_IlJIl=Null;$_IlJIl=_OE0RJ($inc_dir,$wotp.$_ILJ6l['Config'],$_jQ88L);if( !$_IlJIl ) { $_IlJtQ.='Config Table Created. <img src="'.OK_IMG.'" width="22" height="11" />'."\n";} else { if( $_IlJIl==1050 ) { $_IlJtQ.='Config Table already exists. <img src="'.OK_IMG.'" width="22" height="11" />'."\n";}else { $_IlJtQ.=_ODBDA($_IlJIl);$_IlJtQ.='Unable to create Config Table. <img src="'.ERROR_IMG.'" width="22" height="11" />'."\n";} } $_IlJIl=Null;$_IlJIl=_OE0RJ($inc_dir,$wotp.$_ILJ6l['Customers'],$_jQt8f);if( !$_IlJIl ) { $_IlJtQ.='Customers Table Created. <img src="'.OK_IMG.'" width="22" height="11" />'."\n";} else { if( $_IlJIl==1050 ) { $_IlJtQ.='Customers Table already exists. <img src="'.OK_IMG.'" width="22" height="11" />'."\n";}else { $_IlJtQ.=_ODBDA($_IlJIl);$_IlJtQ.='Unable to create Customers Table. <img src="'.ERROR_IMG.'" width="22" height="11" />'."\n";} } $_IlJIl=Null;$_IlJIl=_OE0RJ($inc_dir,$wotp.$_ILJ6l['CustomersDetail'],$_jQO6o);if( !$_IlJIl ) { $_IlJtQ.='Customers Detail Table Created. <img src="'.OK_IMG.'" width="22" height="11" />'."\n";} else { if( $_IlJIl==1050 ) { $_IlJtQ.='Customers Detail Table already exists. <img src="'.OK_IMG.'" width="22" height="11" />'."\n";}else { $_IlJtQ.=_ODBDA($_IlJIl);$_IlJtQ.='Unable to create Customers Detail Table. <img src="'.ERROR_IMG.'" width="22" height="11" />'."\n";} } $_IlJIl=Null;$_IlJIl=_OE0RJ($inc_dir,$wotp.$_ILJ6l['Item'],$_jQoJL);if( !$_IlJIl ) { $_IlJtQ.='Item Table Created. <img src="'.OK_IMG.'" width="22" height="11" />'."\n";} else { if( $_IlJIl==1050 ) { $_IlJtQ.='Item Table already exists. <img src="'.OK_IMG.'" width="22" height="11" />'."\n";}else { $_IlJtQ.=_ODBDA($_IlJIl);$_IlJtQ.='Unable to create Item Table. <img src="'.ERROR_IMG.'" width="22" height="11" />'."\n";} } $_IlJIl=Null;$_IlJIl=_OE0RJ($inc_dir,$wotp.$_ILJ6l['Ticket'],$_jQo8C);if( !$_IlJIl ) { $_IlJtQ.='Ticket Table Created. <img src="'.OK_IMG.'" width="22" height="11" />'."\n";} else { if( $_IlJIl==1050 ) { $_IlJtQ.='Ticket Table already exists. <img src="'.OK_IMG.'" width="22" height="11" />'."\n";}else { $_IlJtQ.=_ODBDA($_IlJIl);$_IlJtQ.='Unable to create Ticket Table. <img src="'.ERROR_IMG.'" width="22" height="11" />'."\n";} } $_IlJIl=Null;$_IlJIl=_OE0RJ($inc_dir,$wotp.$_ILJ6l['TicketImages'],$_jQoCO);if( !$_IlJIl ) { $_IlJtQ.='Ticket  Images Table Created. <img src="'.OK_IMG.'" width="22" height="11" />'."\n";} else { if( $_IlJIl==1050 ) { $_IlJtQ.='Ticket Images Table already exists. <img src="'.OK_IMG.'" width="22" height="11" />'."\n";}else { $_IlJtQ.=_ODBDA($_IlJIl);$_IlJtQ.='Unable to create Ticket Images Table. <img src="'.ERROR_IMG.'" width="22" height="11" />'."\n";} } $_IlJIl=Null;$_IlJIl=_OE0RJ($inc_dir,$wotp.$_ILJ6l['Users'],$_jQCQ6);if( !$_IlJIl ) { $_IlJtQ.='Users Table Created. <img src="'.OK_IMG.'" width="22" height="11" />'."\n";} else { if( $_IlJIl==1050 ) { $_IlJtQ.='Users Images Table already exists. <img src="'.OK_IMG.'" width="22" height="11" />'."\n";}else { $_IlJtQ.=_ODBDA($_IlJIl);$_IlJtQ.='Unable to create Users Table. <img src="'.ERROR_IMG.'" width="22" height="11" />'."\n";} } $_IlJIl=Null;$_IlJIl=_OE0RJ($inc_dir,$wotp.$_ILJ6l['UsersLogin'],$_jQC66);if( !$_IlJIl ) { $_IlJtQ.='Users Login Table Created. <img src="'.OK_IMG.'" width="22" height="11" />'."\n";} else { if( $_IlJIl==1050 ) { $_IlJtQ.='Users Login Images Table already exists. <img src="'.OK_IMG.'" width="22" height="11" />'."\n";}else { $_IlJtQ.=_ODBDA($_IlJIl);$_IlJtQ.='Unable to create Users Login Table. <img src="'.ERROR_IMG.'" width="22" height="11" />'."\n";} } } ?>
Return current item: WorkOrder TS