summaryrefslogtreecommitdiff
path: root/www/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/header.php')
-rw-r--r--www/header.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/www/header.php b/www/header.php
index fb17d93..4df6d9e 100644
--- a/www/header.php
+++ b/www/header.php
@@ -2,7 +2,14 @@
<table width='700px'><tr>
<td><a href='/'>Home</a></td>
<td>|</td>
-<td><a href='/youtube'>Youtube</a></td>
+
+<?php
+if(isset($new_id)){
+ echo "<td><a href='/youtube?id=".$new_id."'>Youtube</a></td>";
+} else {
+ echo "<td><a href='/youtube'>Youtube</a></td>";
+}
+?>
<td>|</td>
<td><a href='/puush'>Puush</a></td>
<td>|</td>