Code:<?php
/************************************************************/
/* Theme Name: Deotur */
/* Theme Design: 7oxic-Media (http://www.7oxic-media.com/) */
/* version 1.0 */
/* */
/* Copyright Notice */
/* - THIS PACKAGE IS NOT RELEASED AS GPL/GNU SCRIPTING. */
/* - Our Package name and link MUST REMAIN in the credit */
/* footer of all Nuke generated pages. */
/* Translations are permitted, not renaming. */
/* - This package CAN NOT be ported without written */
/* permission. */
/* - This package CAN NOT be mirrored without written */
/* permission. */
/* - Use of this package requires that credits to the */
/* original PHPNuke remain in all site generated */
/* page footers. */
/* */
/************************************************************/
global $pathToTheme;
$pathToTheme = 'themes/Detour/';
function ThemeOpenTable2(){
global $pathToTheme;
echo '<table id="Table_01" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" width="123">
<img src="'.$pathToTheme.'images/news_01.gif" width="123" height="17" alt=""></td>
<td width="100%" background="'.$pathToTheme.'images/news_03.gif">
<img src="'.$pathToTheme.'images/news_03.gif" width="3" height="17" alt=""></td>
<td colspan="3" width="49">
<img src="'.$pathToTheme.'images/news_05.gif" width="50" height="17" alt=""></td>
</tr>
</table>
<table id="Table_01" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" width="123" >
<img src="'.$pathToTheme.'images/news_11.gif" width="123" height="16" alt=""></td>
<td background="'.$pathToTheme.'images/news_13.gif" width="100%">
<img src="'.$pathToTheme.'images/news_13.gif" width="3" height="16" alt=""></td>
<td colspan="3" width="50">
<img src="'.$pathToTheme.'images/news_15.gif" width="50" height="16" alt=""></td>
</tr>
</table>
<table id="Table_01" width="100%" height="100" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="'.$pathToTheme.'images/news_19.gif" width="15" >
<img src="'.$pathToTheme.'images/news_19.gif" width="15" height="3" alt=""></td>
<td background="'.$pathToTheme.'images/news_20.gif" width="100%"><table width="100%"><tr><td>' ;
}
function ThemeCloseTable2(){
global $pathToTheme;
echo '</td></tr></table></td>
<td background="'.$pathToTheme.'images/news_21.gif" width="16">
<img src="'.$pathToTheme.'images/news_21.gif" width="16" height="3" alt=""></td>
</tr>
</table>
<table id="Table_01" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="32" height="22"> <img src="'.$pathToTheme.'images/news_25.gif" width="32" height="22" alt=""></td>
<td background="'.$pathToTheme.'images/news_27.gif" width="100%"><img src="'.$pathToTheme.'images/news_27.gif" width="3" height="22" alt=""></td>
<td width="38" height="22"><img src="'.$pathToTheme.'images/news_29.gif" width="38" height="22" alt=""></td>
</tr>
</table> ';
}
function ThemeOpenTable(){
global $pathToTheme;
echo '<table align="center" id="Table_01" width="100%" height="24" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="41" height="24"><img src="'.$pathToTheme.'images/center_01.gif" width="41" height="24" alt=""></td>
<td background="'.$pathToTheme.'images/center_03.gif" height="24" width="100%"></td>
<td width="42" height="24"><img src="'.$pathToTheme.'images/center_05.gif" width="42" height="24" alt=""></td>
</tr>
</table>
<table align="center" id="Table_01" width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="100%" background="'.$pathToTheme.'images/center_09.gif" width="17"><img src="'.$pathToTheme.'images/center_09.gif" width="17" height="2" alt=""></td>
<td height="100%" background="'.$pathToTheme.'images/center_10.gif" ><table width="100%"><tr><td>
';
}
function ThemeCloseTable(){
global $pathToTheme;
echo '</td></tr></table></td>
<td height="100%" background="'.$pathToTheme.'images/center_11.gif" width="17"><img src="'.$pathToTheme.'images/center_11.gif" width="17" height="2" alt=""></td>
</tr>
</table>
<table align="center" id="Table_01" width="100%" height="24" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="41" height="24">
<img src="'.$pathToTheme.'images/center_15.gif" width="41" height="24" alt=""></td>
<td width="100%" background="'.$pathToTheme.'images/center_17.gif"> </td>
<td width="42" height="24" >
<img src="'.$pathToTheme.'images/center_19.gif" width="42" height="24" alt=""></td>
</tr>
</table>';
}
function OpenTable(){
global $name, $ranonce2;
if($name == 'Forums'){
#ThemeOpenTable();
}elseif($ranonce2 == 0){
$ranonce2 = 1;
ThemeOpenTable2();
}else{
ThemeOpenTable();
}
}
function OpenTable2(){
ThemeOpenTable();
}
function CloseTable(){
global $name, $ranonce2;
if($name == 'Forums'){
#ThemeCloseTable();
}elseif($ranonce2 == 1){
$ranonce2 = 2;
ThemeCloseTable2();
}else{
ThemeCloseTable();
}
}
function CloseTable2(){
ThemeCloseTable();
}
function themesidebox($title, $content) {
global $pathToTheme;
echo '<table id="Table_01" width="212" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3">
<img src="'.$pathToTheme.'images/block_03.gif" width="212" height="18" alt=""></td>
</tr>
<tr>
<td align="center" colspan="3" background="'.$pathToTheme.'images/block_05.gif" width="212" height="18">
'.$title.'</td>
</tr>
<tr>
<td colspan="3">
<img src="'.$pathToTheme.'images/block_06.gif" width="212" height="26" alt=""></td>
</tr>
<tr>
<td height="100%" background="'.$pathToTheme.'images/block_10.gif" width="18">
<img src="'.$pathToTheme.'images/block_10.gif" width="18" height="4" alt=""></td>
<td height="100%" background="'.$pathToTheme.'images/block_11.gif" width="176">
'.$content.'</td>
<td height="100%" background="'.$pathToTheme.'images/block_12.gif" width="18">
<img src="'.$pathToTheme.'images/block_12.gif" width="18" height="4" alt=""></td>
</tr>
<tr>
<td colspan="3">
<img src="'.$pathToTheme.'images/block_16.gif" width="212" height="24" alt=""></td>
</tr>
</table>';
}
function themeheader(){
global $pathToTheme;
echo '<table id="Table_01" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="24" height="19">
<img src="themes/Detour/images/header/header_01.gif" width="24" height="19" alt=""></td>
<td width="48" height="19">
<a href="index.php"><img border="0" src="themes/Detour/images/header/header_02.gif" width="48" height="19" alt=""></a></td>
<td width="60" height="19" >
<a href="forums.html"><img border="0" src="themes/Detour/images/header/header_03.gif" width="60" height="19" alt=""></a></td>
<td width="66" height="19">
<a href="account-new_user.html"><img border="0" src="themes/Detour/images/header/header_04.gif" width="66" height="19" alt=""></a></td>
<td width="68" height="19">
<a href="modules.php?name=Members_List"><img border="0" src="themes/Detour/images/header/header_05.gif" width="68" height="19" alt=""></a></td>
<td width="38" height="19">
<a href="faq.html"><img border="0" src="themes/Detour/images/header/header_06.gif" width="38" height="19" alt=""></a></td>
<td width="100%" background="themes/Detour/images/header/header_07.gif" height="19">
<img src="themes/Detour/images/header/header_08.gif" width="4" height="19" alt=""></td>
<td idth="358" height="19" >
<img src="themes/Detour/images/header/header_09.gif" width="358" height="19" alt=""></td>
</tr>
</table>
<table id="Table_01" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="618" height="200">
<img src="themes/Detour/images/header/header_10.gif" width="618" height="200" alt=""></td>
<td background="themes/Detour/images/header/header_11.gif" width="100%">
</td>
<td width="358" height="200" >
<img src="themes/Detour/images/header/header_12.gif" width="358" height="200" alt=""></td>
</tr>
</table>';
echo '<table align="center" width="100%" cellpadding="0" cellspacing="0" border="0" >
<tr valign="top">
<td width="31" valign="top" background="'.$pathToTheme.'images/bar_01.gif"><div align="left"><img src="'.$pathToTheme.'images/bar_01.gif" width="31" height="41" border="0"></div></td>
<td width="212" valign="top">';
blocks('left');
echo '</td><td width="100%">';
}
function themefooter(){
global $pathToTheme , $name;
if($name != 'Forums'){
echo '<td width="" valign="top">';
blocks('right');
echo '</td><td>';
}else{
# forumBlock();
}
echo '</td>
<td width="31" valign="top" background="'.$pathToTheme.'images/bar_03.gif"><img src="'.$pathToTheme.'images/bar_03.gif" width="31" height=41border="0"></td>
</tr>
</table>';
echo '<table id="Table_01" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="642" height="14" >
<img src="themes/Detour/images/footer/footer_02.gif" width="642" height="14" alt=""></td>
<td background="themes/Detour/images/footer/footer_03.gif" width="100%">
<img src="themes/Detour/images/footer/footer_03.gif" width="3" height="14" alt=""></td>
<td width="335" height="14" >
<img src="themes/Detour/images/footer/footer_04.gif" width="335" height="14" alt=""></td>
</tr>
</table>
<table id="Table_01" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="62" height="13">
<img src="themes/Detour/images/footer/footer_05.gif" width="62" height="13" alt=""></td>
<td width="170" height="13">
<a href="http://www.7oxic-media.com"><img src="themes/Detour/images/footer/footer_06.gif" width="170" height="13" alt="" border="0"></a></td>
<td width="202" height="13">
<img src="themes/Detour/images/footer/footer_07.gif" width="202" height="13" alt=""></td>
<td width="84" height="13">
<img src="themes/Detour/images/footer/footer_08.gif" width="84" height="13" alt=""></td>
<td width="44" height="13">
<a href="http://phpnuke.org" rel="nofollow">
<img src="themes/Detour/images/footer/footer_09.gif" width="44" height="13" border="0" alt=""></a></td>
<td width="11" height="13">
<img src="themes/Detour/images/footer/footer_10.gif" width="11" height="13" alt=""></td>
<td width="69" height="13">
<a href="http://www.phpthemes.net">
<img src="themes/Detour/images/footer/footer_11.gif" width="69" height="13" border="0" alt=""></a></td>
<td background="themes/Detour/images/footer/footer_12.gif" width="100%">
<img src="themes/Detour/images/footer/footer_12.gif" width="3" height="13" alt=""></td>
<td width="335" height="13">
<img src="themes/Detour/images/footer/footer_13.gif" width="335" height="13" alt=""></td>
</tr>
</table>
<table id="Table_01" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="642" height="16">
<img src="themes/Detour/images/footer/footer_14.gif" width="642" height="16" alt=""></td>
<td background="themes/Detour/images/footer/footer_15.gif" width="100%">
<img src="themes/Detour/images/footer/footer_15.gif" width="3" height="16" alt=""></td>
<td width="335" height="16" >
<img src="themes/Detour/images/footer/footer_16.gif" width="335" height="16" alt=""></td>
</tr>
</table>';
}
function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $admin, $sid, $tipath, $pathToTheme;
$ThemeSel = get_theme();
if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
$t_image = "themes/$ThemeSel/images/topics/$topicimage";
} else {
$t_image = "$tipath$topicimage";
}
$posted = ""._POSTEDON." $datetime "._BY." ";
$posted .= get_author($aid);
if ($notes != "") {
$notes = "<br><br><b>Admin's Comment:</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
$content = "$thetext$notes\n";
} else {
if($informant != "") {
$content = "News submitted by: <a href=\"modules.php?name=Your_Account&op=userinfo&username=$informant\">$informant</a><br><br> ";
} else {
$content = "News submitted by: <i>$anonymous</i><br><br>";
}
$content .= "$thetext$notes\n";
}
echo '<table id="Table_01" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" width="123">
<img src="'.$pathToTheme.'images/news_01.gif" width="123" height="17" alt=""></td>
<td width="100%" background="'.$pathToTheme.'images/news_03.gif">
<img src="'.$pathToTheme.'images/news_03.gif" width="3" height="17" alt=""></td>
<td colspan="3" width="50">
<img src="'.$pathToTheme.'images/news_05.gif" width="50" height="17" alt=""></td>
</tr>
</table>
<table id="Table_01" width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="'.$pathToTheme.'images/news_06.gif" width="16" ></td>
<td background="'.$pathToTheme.'images/news_08.gif">
$TITLE</td>
<td colspan="3" width="50">
<img src="'.$pathToTheme.'images/news_10.gif" width="50" height="20" alt=""></td>
</tr>
</table>
<table id="Table_01" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" width="123" >
<img src="'.$pathToTheme.'images/news_11.gif" width="123" height="16" alt=""></td>
<td background="'.$pathToTheme.'images/news_13.gif" width="100%">
<img src="'.$pathToTheme.'images/news_13.gif" width="3" height="16" alt=""></td>
<td colspan="3" width="50">
<img src="'.$pathToTheme.'images/news_15.gif" width="50" height="16" alt=""></td>
</tr>
</table>
<table id="Table_01" width="100%" height="100" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="'.$pathToTheme.'images/news_19.gif" width="15" >
<img src="'.$pathToTheme.'images/news_19.gif" width="15" height="3" alt=""></td>
<td background="'.$pathToTheme.'images/news_20.gif" width="100%">
$news </td>
<td background="'.$pathToTheme.'images/news_21.gif" width="16">
<img src="'.$pathToTheme.'images/news_21.gif" width="16" height="3" alt=""></td>
</tr>
</table>
<table id="Table_01" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="32" height="22"> <img src="'.$pathToTheme.'images/news_25.gif" width="32" height="22" alt=""></td>
<td background="'.$pathToTheme.'images/news_27.gif" width="100%"><img src="'.$pathToTheme.'images/news_27.gif" width="3" height="22" alt=""></td>
<td width="38" height="22"><img src="'.$pathToTheme.'images/news_29.gif" width="38" height="22" alt=""></td>
</tr>
</table> ';
}
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath, $pathToTheme;
$ThemeSel = get_theme();
if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
$t_image = "themes/$ThemeSel/images/topics/$topicimage";
}
else {$t_image = "$tipath$topicimage";}
if ($notes != "") { $notes = "<br><br><b>Admin's Comment:</b> $notes\n"; }
else {$notes = "";}
if ("$aid" == "$informant") {$content = "$thetext$notes\n";}
else {
if($informant != "") {
$content = "News submitted by: <a href=\"modules.php?name=Your_Account&op=userinfo&username=$informant\">$informant</a><br><br>";
}
else {$content = "News submitted by: <i>$anonymous</i><br><br>";}
$content .= "$thetext$notes\n";
}
$posted = ""._POSTEDBY." ";
$posted .= get_author($aid);
$posted .= " "._ON." $time $timezone ";
$content = '<table id="Table_01" width="100%" border="0" cellpadding="5" cellspacing="0"><tr><td><img src="'.$t_image.'"></td>'.
'<td>'.$content.'</td></tr></table><div align="center">'.$posted.'</div>';
echo '<table id="Table_01" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" width="123">
<img src="'.$pathToTheme.'images/news_01.gif" width="123" height="17" alt=""></td>
<td width="100%" background="'.$pathToTheme.'images/news_03.gif">
<img src="'.$pathToTheme.'images/news_03.gif" width="3" height="17" alt=""></td>
<td colspan="3" width="50">
<img src="'.$pathToTheme.'images/news_05.gif" width="50" height="17" alt=""></td>
</tr>
</table>
<table id="Table_01" width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="'.$pathToTheme.'images/news_06.gif" width="16" ></td>
<td background="'.$pathToTheme.'images/news_08.gif">
'.$title.'</td>
<td colspan="3" width="50">
<img src="'.$pathToTheme.'images/news_10.gif" width="50" height="20" alt=""></td>
</tr>
</table>
<table id="Table_01" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" width="123" >
<img src="'.$pathToTheme.'images/news_11.gif" width="123" height="16" alt=""></td>
<td background="'.$pathToTheme.'images/news_13.gif" width="100%">
<img src="'.$pathToTheme.'images/news_13.gif" width="3" height="16" alt=""></td>
<td colspan="3" width="50">
<img src="'.$pathToTheme.'images/news_15.gif" width="50" height="16" alt=""></td>
</tr>
</table>
<table id="Table_01" width="100%" height="100" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="'.$pathToTheme.'images/news_19.gif" width="15" >
<img src="'.$pathToTheme.'images/news_19.gif" width="15" height="3" alt=""></td>
<td background="'.$pathToTheme.'images/news_20.gif" width="100%">
'.$content.' </td>
<td background="'.$pathToTheme.'images/news_21.gif" width="16">
<img src="'.$pathToTheme.'images/news_21.gif" width="16" height="3" alt=""></td>
</tr>
</table>
<table id="Table_01" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="32" height="22"> <img src="'.$pathToTheme.'images/news_25.gif" width="32" height="22" alt=""></td>
<td background="'.$pathToTheme.'images/news_27.gif" width="100%"><img src="'.$pathToTheme.'images/news_27.gif" width="3" height="22" alt=""></td>
<td width="38" height="22"><img src="'.$pathToTheme.'images/news_29.gif" width="38" height="22" alt=""></td>
</tr>
</table> ';
}
?>
|