pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

paste-bin - collaborative debugging tool View Help


Posted by SteveHH on Sun 1st Jul 08:20
View followups from sp | download | new post

  1. <?php
  2. /**
  3. * Netcom-Factory - A Template by Netcom-Factory digital Solutions
  4. * @version 1.0
  5. * @copyright (C) 2005-2006 by Netcom-Factory digital Solutions - All rights reserved!
  6. * @web http://www.netcom-factory.de/
  7. **/
  8. defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); $iso = split( '=', _ISO ); echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>'; ?>
  9. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta name="keywords" content="netcom, netcom factory, netcomfactory, netcom-factory, nf ianus, ianus, nf-ianus, nf-ianus-serie, ianus serie, joomla, mambo, template, templates">
  10. <?php mosShowHead(); ?>
  11. <?php
  12. if ( $my->id ) {
  13.         initEditor();
  14. }
  15. $collspan_offset = ( mosCountModules( 'right' ) + mosCountModules( 'user2' ) ) ? 2 : 1;
  16. $user1 = 0;
  17. $user2 = 0;
  18. $colspan = 0;
  19. $right = 0;
  20.  
  21. if ( mosCountModules( 'user1' ) + mosCountModules( 'user2' ) == 2) {
  22.         $user1 = 2;
  23.         $user2 = 2;
  24.         $colspan = 3;
  25. } elseif ( mosCountModules( 'user1' ) == 1 ) {
  26.         $user1 = 1;
  27.         $colspan = 1;
  28. } elseif ( mosCountModules( 'user2' ) == 1 ) {
  29.         $user2 = 1;
  30.         $colspan = 1;
  31. }
  32.  
  33. if ( mosCountModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
  34.         $right = 1;
  35. }
  36. ?>
  37. <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
  38. <link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $cur_template;?>/css/template_css.css" rel="stylesheet" type="text/css" />
  39. <link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" /></head>
  40. <body scroll="yes"><a name="top"></a>
  41. <div align="center"><div id="layout_container">
  42.  
  43. <div id="header_container">
  44.         <div id="topmenu_container"><?php mosLoadModules ( 'user3', -1 ); ?></div>
  45.  
  46.                   </div>
  47.  
  48. <div id="content_container">
  49. <table border="0" cellpadding="0" cellspacing="0" width="980">
  50. <tr valign="top">
  51.  
  52.         <?php if (mosCountModules('left')>0) { ?>
  53.         <td style="padding-left: 10px;"><div class="modul_header"></div><div class="modul_container"><div class="modul_content"><?php mosLoadModules ( 'left' ); ?></div></div><div class="modul_footer"></div></td>
  54.         <?php } ?>
  55.  
  56.         <?php if (( mosCountModules( 'left' )==0) && ( mosCountModules( 'right' )==0)) { ?><td width="100%" style="padding-left: 10px;padding-right: 10px;"><?php } else if ( mosCountModules( 'right' )==0) { ?><td width="100%" style="padding-right: 10px;"><?php } else if ( mosCountModules( 'left' )==0) { ?><td width="100%" style="padding-left: 10px;"><?php } else { ?><td width="100%"><?php } ?>
  57.         <br>
  58.         <div id="main_header">
  59.                 <div id="main_header-left"></div>
  60.                 <!-- Diese Zeile löschen um den Begrüßungstext zu entfernen --><div id="main_header-welcome"><?php if ( $my->username ) { echo ("<span class='willkommen'>Willkommen zurück - $my->username</span>");} else { ?><span class='willkommen'>Herzlich Willkommen - Besucher</span><?php } ?></div>
  61.                 <div id="main_header-right"></div>
  62.         </div>
  63.         <div id="main_container">
  64.         <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td id="main_left"></td><td>
  65.         <table border="0" cellpadding="0" cellspacing="0" width="100%">
  66.         <?php if ( mosCountModules ('banner')>0) { ?><tr valign="top"><td colspan="<?php echo $colspan; ?>"><div id="modul_banner"><?php mosLoadModules ( 'banner', -1 ); ?></div></td></tr><?php } ?>
  67.  
  68.         <?php if ($colspan > 0) { ?>
  69.         <tr valign="top">
  70.         <?php if ( $user1 > 0 ) { ?><td width="50%" align="left"><div><?php mosLoadModules ( 'user1', -2 ); ?></div></td>
  71.         <?php } if ( $colspan == 3) { ?><td><div id="abstand"></div></td>
  72.         <?php } if ( $user2 > 0 ) { ?><td width="50%" align="left"><div><?php mosLoadModules ( 'user2', -2 ); ?></div></td>
  73.         <?php } ?>
  74.         </tr>
  75.         <?php } ?>
  76.         <tr><td colspan="<?php echo $colspan; ?>" width="100%"><div id="mainbody"><?php mosMainBody(); ?></div></td></tr>
  77.         </table></td><td id="main_right"></td></tr></table>
  78.         </div>
  79.         <br class="clear">
  80.         <div id="main_footer"><div id="main_footer-middle"><div id="main_footer-left"></div><div id="main_footer-right"></div></div></div>
  81.         </td>
  82.  
  83.         <?php if ( mosCountModules ('right')>0) { ?>
  84.         <td style="padding-right: 10px;"><div class="modul_header"></div><div class="modul_container"><div class="modul_content"><?php mosLoadModules ( 'right' ); ?></div></div><div class="modul_footer"></div></td>
  85.         <?php } ?>
  86.  
  87. </tr>
  88. </table>
  89. </div><br class="clear">
  90. <!-- Do not remove the designby-link without our permission! ([email protected]) -->
  91. <div id="footer_container"><a href="http://www.netcom-factory.de" target="_blank" id="dblink"></a></div>
  92. <!-- Ohne unsere Genehmigung ist das entfernen des designby-link verboten!([email protected]) -->
  93. </div></div>
  94.  
  95. </body>
  96. </html>

Submit a correction or amendment below. (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Use syntax highlighting

To highlight particular lines, prefix each line with @@
:
:
Remember my settings