1
0
mirror of https://github.com/fspc/Yellow-Bike-Database.git synced 2025-02-22 08:53:23 -05:00

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.
This commit is contained in:
Jonathan Rosenbaum 2015-03-24 05:11:16 +00:00
parent f919422de4
commit 25e030c613
2 changed files with 2 additions and 2 deletions

View File

@ -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
?>
<!--

View File

@ -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 />