bin leider da nicht wirklich bewandert hier mal die theme php könntest du mir vieleicht sagen in welcher zeile ich das image einfügen muss Code:range Theme für ExV2 by Theo Schönstedt // // Icejumper's Themen-Homepage - www.themen-web.de.tt // // Exv2 - www.exv2.de // //---------------------------------------------------------------// // Change to the foldername of your theme define("XOOPS_THEME", "Marmor-Orange");
// --------------------------------------------------------------------------------------// /************************************************************/ /* Function themesidebox_left() */ /* */ /* Controls the look of your left blocks. */ /************************************************************/
function themesidebox_left($title, $content) { ?> <!-- HTML 1 CODE --> <table width="160" border="0" cellpadding="0" cellspacing="0" > <tr><td><div id="sbimageleft" class="sidboxtitle"><?php echo $title;?></div></td></tr> <tr><td class="sideboxcontent"><?php echo $content;?></td></tr> <tr><td><div id="sbimageleft1" class="sidboxtitle1">&nbsp;&nbsp;</div></td></tr> </table> <br /> <!-- HTML 1 CODE --> <?php }
// --------------------------------------------------------------------------------------// /************************************************************/ /* Function themesidebox_right() */ /* */ /* Controls the look of your right blocks. */ /************************************************************/
function themesidebox_right($title, $content) { ?> <!-- HTML CODE --> <table width="160" border="0" cellpadding="0" cellspacing="0" > <tr><td><div id="sbimageleft" class="sidboxtitle"><?php echo $title;?></div></td></tr> <tr><td class="sideboxcontent"><?php echo $content;?></td></tr> <tr><td><div id="sbimageleft1" class="sidboxtitle1">&nbsp;</div></td></tr> </table> <br /> <!-- HTML CODE --> <?php }
// --------------------------------------------------------------------------------------// /************************************************************/ /* Function themecenterbox_left() */ /* */ /* Controls the look of your left-center blocks. */ /************************************************************/
function themecenterbox_left($title, $content) { ?> <!-- HTML CODE --> <table width="100%" border="0" cellpadding="0" cellspacing="0"><tr> <td><div id="sbimageleft" class="indextitle"><?php echo $title;?></div><hr /></td> </tr><tr> <td><?php echo $content;?></td> </tr></table> <br /> <!-- HTML CODE --> <?php }
// --------------------------------------------------------------------------------------// /************************************************************/ /* Function themecenterbox_center() */ /* */ /* Controls the look of your center-center blocks. */ /************************************************************/
function themecenterbox_center($title, $content) { ?> <!-- HTML CODE --> <table width="100%" border="0" cellpadding="0" cellspacing="0"><tr> <td><div id="sbimageleft" class="indextitle"><?php echo $title;?></div><hr /></td> </tr><tr> <td><?php echo $content;?></td> </tr></table> <br /> <!-- HTML CODE --> <?php }
// --------------------------------------------------------------------------------------// /************************************************************/ /* Function themecenterbox_right() */ /* */ /* Controls the look of your right-center blocks. */ /************************************************************/
function themecenterbox_right($title, $content) { ?> <!-- HTML CODE --> <table width="100%" border="0" cellpadding="0" cellspacing="0"><tr> <td><div id="sbimageleft" class="indextitle"><?php echo $title;?></div><hr /></td> </tr><tr> <td><?php echo $content;?></td> </tr></table> <br /> <!-- HTML CODE --> <?php }
// --------------------------------------------------------------------------------------// /************************************************************/ /* Function themecenterposts() */ /* */ /* Controls the look of various center blocks, */ /* like when you preview posts in the forum & news. */ /************************************************************/
function themecenterposts($title, $content) { ?> <!-- HTML CODE --> <table width="100%" border="0" cellpadding="0" cellspacing="0"><tr> <td><div id="sbimageleft" class="indextitle"><?php echo $title;?></div></td> </tr><tr> <td class="indextable"><div class="indextext"> <p><?php echo $content;?></p> </div></td> </tr></table> <br /> <!-- HTML CODE --> <?php }
// --------------------------------------------------------------------------------------// /************************************************************/ /* Function themenews() */ /* */ /* This function formats the stories on your homepage */ /************************************************************/
function themenews($poster, $time, $title, $counter, $thetext, $timglink, $adminlink, $morelink="") { ?> <!-- HTML CODE --> <table width="100%" border="0" cellpadding="0" cellspacing="0"><tr> <td><div id="sbimageleft" class="indextitle"><?php echo $title;?></div></td> </tr><tr>
<td class="indextable2"> <div class="postedby"> <?php echo _TH_POSTEDBY;?> <?php echo $poster;?> <?php echo _TH_ON;?> <?php echo $time;?> (<?php echo $counter;?> <?php echo _TH_READS;?>) </div> <div class="indextext"> <p><?php echo $timglink;?> <?php echo $thetext;?></p> </div></td>
</tr><tr> <td><div class="more" align="right"><?php echo $adminlink;?> <?php echo $morelink;?></div></td>
</tr></table> <br /> <!-- HTML CODE --> <?php }
// --------------------------------------------------------------------------------------// /**************************************************************************/ /* Function theme_waitbox() */ /* */ /* Controls the look of the waitbox when it's turned on */ /**************************************************************************/ function theme_waitbox() { ?> <!-- HTML CODE --> <table cellpadding="3" cellspacing="3" class="waitbox"><tr> <td> <b><big><?php echo _TH_LOADING;?></big></b><br /> <img src="<?php echo XOOPS_URL."/themes/".XOOPS_THEME;?>/images/await.gif" alt="" /> <br /><?php echo _TH_PLEASEWAIT;?></td></tr> </table> <!-- HTML CODE --> <?php }
// --------------------------------------------------------------------------------------// /**********************************************************************/ /* Function themeheader() */ /* */ /* Everything that comes before stuff in the center of your site. */ /* It's goes up to the first <td> right before center stuff appears. */ /* */ /* themeheader<td> */ /* center stuff */ /* </td>themefooter */ /**********************************************************************/
function themeheader($show_rblock) { global $xoopsConfig, $xoopsUser, $meta; ?> <script type="text/javascript" src="<?php echo XOOPS_URL."/themes/".XOOPS_THEME;?>/date.js" ></script> </head> <body bgcolor="#ffffff" onload="startclock();" style="text-align: center"> <?php OpenWaitBox();?>
<table cellspacing="0" cellpadding="0" border="0" width="100%"> <tr> <td><img src="<?php echo XOOPS_URL."/themes/".XOOPS_THEME;?>/images/t1.gif" width=185 height=87 border=0 alt=""></td> <td background="<?php echo XOOPS_URL."/themes/".XOOPS_THEME;?>/images/t2bg.gif" width=100% height=87 align="center"><img src="<?php echo XOOPS_URL."/themes/".XOOPS_THEME;?>/images/titbag-header.gif" width=500 height=87 border=0 alt=""></td> <td><img src="<?php echo XOOPS_URL."/themes/".XOOPS_THEME;?>/images/t3.gif" width=185 height=87 border=0 alt=""></td> </tr></table>
<table cellspacing="0" cellpadding="0" border="0" width="100%"> <tr> <td width="49%" align="right" background="<?php echo XOOPS_URL."/themes/".XOOPS_THEME;?>/images/t4bg.gif" height=59><font color="#000000"><b><?php if ($xoopsUser) { printf(_TH_WELCOME_BACK, $xoopsUser->uname()); } else { printf(_TH_WELCOME_TO, $meta['title']); } ;?></b></font></td> <td width="2%" background="<?php echo XOOPS_URL."/themes/".XOOPS_THEME;?>/images/t4bg.gif" height=59>&nbsp;</td> <td width="49%" align="left" background="<?php echo XOOPS_URL."/themes/".XOOPS_THEME;?>/images/t4bg.gif" height=59><b><div id="myclock"></b></td> </tr> </table>
<table width="100%" border="0" cellpadding="5" cellspacing="0"><tr> <td id="leftblock" width="160" align="left" valign="top" class="sidebar1"> <?php make_sidebar("left");?> </td>
<td align="center" valign="top" width="100%"><?php showbanner();?> <!-- HTML CODE --> <?php }
// --------------------------------------------------------------------------------------// /*************************************************************************/ /* Function themefooter() */ /* */ /* This is everything that appears right after any center stuff. */ /* */ /* themeheader<td> */ /* center stuff */ /* </td>themefooter */ /*************************************************************************/
function themefooter($show_rblock, $footer) { ?> <!-- HTML CODE --> <br /></td>
<?php if ($show_rblock) { ?> <td id="rightblock" width="160" align="right" valign="top" class="sidebar2"><?php make_sidebar("right");?></td> <?php } else { echo "<td width='1' id='rightblock' style='display:none;'>&nbsp;</td>"; } ?>
</tr><tr> <td colspan="3" width="100%" align="center" background="<?php echo XOOPS_URL."/themes/".XOOPS_THEME;?>/images/t5bg.gif" height=64> <!--<td colspan="3" class="footer">--> <?php echo $footer;?> <a " target="_blank"></a></td> </tr></table>
<!-- HTML CODE --> <?php }
// --------------------------------------------------------------------------------------// /**************************************************************************/ /* OpenTable Functions */ /* */ /* The look of certain tables opend/closed in variousparts of xoops, like */ /* the tables in the center of the admin section, and in various modules. */ /**************************************************************************/
function OpenTable($width="100%") { ?> <!-- HTML CODE --> <table width="<?php echo $width;?>" border="0" cellspacing="1" cellpadding="0" class="bg2"><tr> <td valign="top"> <table width="100%" border="0" cellspacing="1" cellpadding="8" class="bg1"><tr> <td valign="top"> <!-- HTML CODE --> <?php }
// --------------------------------------------------------------------------------------// function CloseTable() { ?> <!-- HTML CODE --> </td></tr></table></td></tr></table> <!-- HTML CODE --> <?php } ?>
[ Geändert von Ephram an 20.10.2007 16:51 ] |