mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-22 17:03:22 -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:
parent
f919422de4
commit
25e030c613
@ -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
|
||||
?>
|
||||
<!--
|
||||
|
@ -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…
x
Reference in New Issue
Block a user