i agree with jikaka, you won't believe how many time i've forgotten to go to the admin panel every day to check for submissions. nice panel dude.
EDIT: I made some minor changes to the code.
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]if ($show_n == 1){
echo "<tr><td>".$locale['subm02'].": </td>
<td align='right'>";
if ($count_n != 0) { echo "<font color='red'><b><a href='".ADMIN."submissions.php".$aidlink."#news_submissions'>".$count_n."</a></b></font>"; } else { echo $count_n; }
echo "</td></tr>";
}
if ($show_a == 1){
echo "<tr><td>".$locale['subm03'].": </td>
<td align='right'>";
if ($count_a != 0) { echo "<font color='red'><b><a href='".ADMIN."submissions.php".$aidlink."#article_submissions'>".$count_a."</a></b></font>"; } else { echo $count_a; }
echo "</td></tr>";
}
if ($show_l == 1){
echo "<tr><td>".$locale['subm04'].": </td>
<td align='right'>\n";
if ($count_l != 0) { echo "<font color='red'><b><a href='".ADMIN."submissions.php".$aidlink."#link_submissions'>".$count_l."</a></b></font>"; } else { echo $count_l; }
echo "</td></tr>";
}
if ($show_p == 1){
echo "<tr><td>".$locale['subm05'].": </td>
<td align='right'>\n";
if ($count_p != 0) { echo "<font color='red'><b><a href='".ADMIN."submissions.php".$aidlink."#photo_submissions'>".$count_p."</a></b></font>"; } else { echo $count_p; }
echo "</td></tr>";
}[/syntaxhighlighter]
this way you can click on the number and go directly to the submission page for that item.
0 replies