Changeset 2775
- Timestamp:
- 03/09/10 16:50:42 (2 years ago)
- Files:
-
- trunk/admin/Public/A2B_data_archiving.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/admin/Public/A2B_data_archiving.php
r2421 r2775 201 201 if(isset($archive) && !empty($archive)){ 202 202 $condition = $HD_Form -> FG_TABLE_CLAUSE; 203 if (strpos($condition,'WHERE') <= 0){203 if (strlen($condition) && strpos($condition,'WHERE') === false){ 204 204 $condition = " WHERE $condition"; 205 }206 $rec = archive_data($condition, "card");207 if($rec > 0)208 $archive_message = "The data has been successfully archived";205 } 206 $rec = archive_data($condition, "card"); 207 if($rec > 0) 208 $archive_message = "The data has been successfully archived"; 209 209 } 210 210 … … 225 225 226 226 <?php 227 // #### CREATE SEARCH FORM 228 $HD_Form -> create_search_form(); 227 $HD_Form -> create_search_form(); 229 228 ?> 230 229 … … 236 235 ?> 237 236 <center> 238 < formname="frm_archive" id="frm_archive" method="post" action="A2B_call_archiving.php">237 <FORM name="frm_archive" id="frm_archive" method="post" action="A2B_call_archiving.php"> 239 238 <table class="bar-status" width="50%" border="0" cellspacing="1" cellpadding="2" align="center"> 240 239 <tbody>
