Browse Source

Removes the ability to edit shop date.

1) Not necessary for a production site
2) Great for testing from the interface when a shop needs to be deleted, however, this can be done just as easily directly through the database.
devel
Jonathan Rosenbaum 10 years ago
parent
commit
25e030c613
  1. 2
      shop_log.php
  2. 2
      start_shop.php

2
shop_log.php

@ -228,7 +228,7 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "FormEdit")) {
</td>
</tr>
<?php //if(current_shop_by_ip()>=$shop_id & (current_shop_by_ip()-5)<=$shop_id ) {
// Not really necessary, and should be an administrative function
// Not really necessary since the time can be zeroed out.
// shop_log_delete_shopvisitid.php has been moved to the attic
?>
<!--

2
start_shop.php

@ -152,7 +152,7 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "ChangeDate")) {
<tr valign="bottom" bgcolor="#CCCC33">
<td>Edit Record:<br />
<?php echo "<a href=\"{$page_shop_log}?shop_id={$row_Recordset1['shop_id']}\">Shop ID: {$row_Recordset1['shop_id']}</a>";?></td>
<td><input name="date" type="text" value="<?php echo $row_Recordset1['date']; ?>" /></td>
<td><div><?php echo $row_Recordset1['date']; ?></div></td>
<td><?php list_shop_locations('shop_location', $row_Recordset1['shop_location']); ?></td>
<td><?php list_shop_types('shop_type', $row_Recordset1['shop_type']); ?></td>
<td><?php echo $row_Recordset1['num_visitors']; ?> Visitors<br />

Loading…
Cancel
Save