The trunk folder is for all new features that are not yet ready for release. This folder will be for stabilizing work as it is built and creating new features. The releases folder is used for release builds. The earliest available build is 2.3.x, and thus it will have the 2.3 folder. All maintenance and bug fixes go in this folder. No new features whatsoever are to be added in here, keeping those completely in the trunk. When the trunk is ready for the next version, it will have a new folder created for it (releases/2.4 for instance) to stabilizing for final release. The tags folder is used for individual releases. When a release build is ready to go out for download, that release folder will be cloned into an appropriate tag folder. For example, the releases/2.3 folder will be cloned into tags/2.3.1 for that release, and after more work on bug fixes, it will be cloned to tags/2.3.2. Thus, these tag folders should never be modified for any reason. The tag exists purely as a snapshot of a certain point on the release path, and to modify a snapshot defeats the purpose. Any bug in a tagged release should be fixed in the appropriate release folder (such as releases/2.3 for a bug found in 2.3.1).
53 lines
4.3 KiB
PHP
53 lines
4.3 KiB
PHP
<div id="subtitleAdmin"><?php echo $page_title; ?></div>
|
|
<?php include ('includes/list_add_link.inc.php'); ?>
|
|
<table class="dataTable">
|
|
<?php if ($row_pref['mode'] == "1") { ?>
|
|
<tr>
|
|
<td colspan="2"><?php if ($totalRows_review > 0) { echo $row_user['realFirstName'].", there "; if ($totalRows_review > 1 ) echo "are "; else echo "is "; echo $totalRows_review; if ($totalRows_review > 1 ) echo " reviews "; else echo " review "; if ($filter == "all") echo "in the database.<br><br>"; else echo "under ".$row_log['brewBrewerID']."'s User ID.<br><br>"; } else echo "There are no reviews found in the database.<br><br>";?></tr>
|
|
<?php } ?>
|
|
<?php if ($row_pref['mode'] == "2") { ?>
|
|
<tr>
|
|
<td colspan="2"><?php if (($row_user['userLevel'] == "1") && ($totalRows_review > 0)) { echo "There "; if ($totalRows_review > 1 ) echo "are "; else echo "is "; echo $totalRows_review; if ($totalRows_review > 1 ) echo " reviews "; else echo " review "; echo "in the database.<br><br>"; } elseif (($row_user['userLevel'] == "2") && ($totalRows_review > 0)) { echo $row_user['realFirstName'].", there "; if ($totalRows_review > 1 ) echo "are "; else echo "is "; echo $totalRows_review; if ($totalRows_review > 1 ) echo " reviews "; else echo " reviews "; echo "in your personal database.<br><br>"; } else echo "There are no reviews found in the database.<br><br>"; ?></td>
|
|
</tr>
|
|
<?php } ?>
|
|
</table>
|
|
<?php if ($confirm == "true") { ?>
|
|
<table>
|
|
<tr>
|
|
<td class="error"><?php if ($msg == "1") echo $msg1; if ($msg == "2") echo $msg2; if ($msg == "3") echo $msg3; ?></td>
|
|
</tr>
|
|
</table>
|
|
<?php } ?>
|
|
<?php if ($totalRows_review != "0") { ?>
|
|
<table>
|
|
<tr>
|
|
<td class="dataHeadingList">Review For</td>
|
|
<td class="dataHeadingList">Scored By</td>
|
|
<td class="dataHeadingList">Date Added</td>
|
|
<td class="dataHeadingList">Reviewer Role</td>
|
|
<?php if ($row_user['userLevel'] == "1") { ?>
|
|
<td class="dataHeadingList"> </td>
|
|
<td class="dataHeadingList"> </td>
|
|
<td class="dataHeadingList"><?php if (!checkmobile()) { ?><div id="helpInline"><a href="includes/admin_icons.inc.php?dbTable=<?php echo $dbTable; ?>&KeepThis=true&TB_iframe=true&height=450&width=800" title="Administration Icon Reference" class="thickbox"><img src="<?php echo $imageSrc; ?>information.png" align="absmiddle" border="0" alt="Admin Icon Reference" title="Administration Icon Reference"></a></div><?php } else echo " "; ?></td>
|
|
<?php } ?>
|
|
</tr>
|
|
<?php do {
|
|
mysql_select_db($database_brewing, $brewing);
|
|
$query_log_review = sprintf("SELECT * FROM brewing WHERE id = '%s'", $row_review['brewID']);
|
|
$log_review = mysql_query($query_log_review, $brewing) or die(mysql_error());
|
|
$row_log_review = mysql_fetch_assoc($log_review);
|
|
$totalRows_log_review = mysql_num_rows($log_review);
|
|
?>
|
|
<tr <?php echo " style=\"background-color:$color\"";?>>
|
|
<td class="dataList"><?php if ($row_log_review ['brewName'] != "") echo $row_log_review['brewName']; else echo "<span class=\"red\"><em>BrewBlog has been Deleted</em></span>"; ?></td>
|
|
<td class="dataList"><?php echo $row_review['brewScoredBy']; ?></td>
|
|
<td class="dataList"><?php $date = $row_review['brewScoreDate']; $realdate = dateconvert($date,3); echo $realdate; ?></td>
|
|
<td class="dataList"><?php echo $row_review['brewScorerLevel']; ?></td>
|
|
<td class="data_icon_list"><a href="../index.php?page=brewBlogDetail&id=<?php echo $row_review['brewID'] ?>#tasting"><img src="<?php echo $imageSrc; ?>monitor.png" align="absmiddle" border="0" alt="View the reviews for <?php echo $row_log_review['brewName'] ?>" title="View the reviews <?php echo $row_log_review['brewName'] ?>"></a></td>
|
|
<td class="data_icon_list"><a href="index.php?action=edit&dbTable=reviews&id=<?php echo $row_review['id']; ?>"><img src="<?php echo $imageSrc; ?>pencil.png" align="absmiddle" border="0" alt="Edit This Review" title="Edit This Review"></a></td>
|
|
<td class="data_icon_list"><a href="javascript:DelWithCon('index.php?action=delete&dbTable=reviews','id',<?php echo $row_review['id']; ?>,'Are you sure you want to delete this review?');"><img src="<?php echo $imageSrc; ?>bin_closed.png" align="absmiddle" border="0" alt="Delete this Review" title="Delete this Review"></a></td>
|
|
</tr>
|
|
<?php if ($color == $color1) { $color = $color2; } else { $color = $color1; } ?>
|
|
<?php } while ($row_review = mysql_fetch_assoc($review)); ?>
|
|
</table>
|
|
<?php } ?>
|