diff options
Diffstat (limited to 'includes/header.php')
| -rwxr-xr-x | includes/header.php | 20 |
1 files changed, 20 insertions, 0 deletions
| diff --git a/includes/header.php b/includes/header.php index ae39bad..3a8edff 100755 --- a/includes/header.php +++ b/includes/header.php | |||
| @@ -69,6 +69,26 @@ $headerTemp->add('DATEFINDER', sd_dateFinder()); | |||
| 69 | if ($usingIE) | 69 | if ($usingIE) |
| 70 | { | 70 | { |
| 71 | $headerTemp->add('FLASH', 'It appears you are using Internet Explorer. Four Island is not likely to work properly in IE due to a <a href="http://www.webdevout.net/articles/beware-of-xhtml#ie">huge bug</a> in it. <a href="http://getfirefox.com/">There are better browsers out there, why not try one?</a>'); | 71 | $headerTemp->add('FLASH', 'It appears you are using Internet Explorer. Four Island is not likely to work properly in IE due to a <a href="http://www.webdevout.net/articles/beware-of-xhtml#ie">huge bug</a> in it. <a href="http://getfirefox.com/">There are better browsers out there, why not try one?</a>'); |
| 72 | } | ||
| 73 | |||
| 74 | $getaffs = "SELECT * FROM links WHERE type = \"affiliates\" ORDER BY id ASC"; | ||
| 75 | $getaffs2 = mysql_query($getaffs); | ||
| 76 | $i=0; | ||
| 77 | while ($getaffs3 = mysql_fetch_array($getaffs2)) | ||
| 78 | { | ||
| 79 | $headerTemp->adds_block('AFFILIATES', array( 'COLOR' => getTagColor($i++), | ||
| 80 | 'TITLE' => $getaffs3['title'], | ||
| 81 | 'URL' => $getaffs3['url'])); | ||
| 82 | } | ||
| 83 | |||
| 84 | $getwebps = "SELECT * FROM links WHERE type = \"webprojs\" ORDER BY id ASC"; | ||
| 85 | $getwebps2 = mysql_query($getwebps); | ||
| 86 | $i=0; | ||
| 87 | while ($getwebps3 = mysql_fetch_array($getwebps2)) | ||
| 88 | { | ||
| 89 | $headerTemp->adds_block('WEBPROJS', array( 'COLOR' => getTagColor($i++), | ||
| 90 | 'TITLE' => $getwebps3['title'], | ||
| 91 | 'URL' => $getwebps3['url'])); | ||
| 72 | } | 92 | } |
| 73 | 93 | ||
| 74 | $headerTemp->display(); | 94 | $headerTemp->display(); |
