[ Index ]
 

Code source de e107 0.7.8

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/e107_themes/lamb/ -> alt_theme.php (source)

   1  <?php
   2  /*
   3  +---------------------------------------------------------------+
   4  |    e107 website system
   5  |
   6  |    ©Steve Dunstan 2001-2005
   7  |    http://e107.org
   8  |    jalist@e107.org
   9  |
  10  |    Released under the terms and conditions of the
  11  |    GNU General Public License (http://gnu.org).
  12  +---------------------------------------------------------------+
  13  */
  14  
  15  if (!defined('e107_INIT')) { exit; }
  16  
  17  // [theme]
  18  $themename = "lamb";
  19  $themeversion = "1.0";
  20  $themeauthor = "Steve Dunstan [jalist]";
  21  $themedate = "29/01/2005";
  22  $themeinfo = "";
  23  define("STANDARDS_MODE", TRUE);
  24  
  25  // [layout]
  26  
  27  $layout = "_default";
  28  
  29  $HEADER = "<div id='header'>
  30  <div id='logo'>&nbsp;</div>
  31  </div>
  32  <div id='banner'>
  33  {BANNER}
  34  </div>
  35  <div id='mainleft'>
  36  <div id='mainright'>
  37  <div id='leftcontent'>
  38  <div class='columnwrap'>
  39  {SITELINKS}
  40  {MENU=1}
  41  </div>
  42  </div>
  43  <div id='rightcontent'>
  44  <div class='columnwrap'>
  45  {MENU=2}
  46  </div>
  47  </div>
  48  <div id='centercontent'>
  49  <div class='menuwrapper'>
  50  <div class='columnwrap'>
  51  ";
  52  
  53  $FOOTER = "
  54  </div>
  55  </div>
  56  <div class='cleaner'>&nbsp;</div>
  57  </div>
  58  </div>
  59  </div>
  60  <div id='footer'>
  61  <div class='columnwrap'>
  62  <div style='text-align: center;' class='smalltext'>
  63  {SITEDISCLAIMER}
  64  <br />
  65  <img src='".e_IMAGE."generic/php-small-trans-light.gif' alt='' /> <img src='".e_IMAGE."button.png' alt='' /> 
  66  <img src='".e_IMAGE."generic/poweredbymysql-88.png' alt=''  /> &nbsp;&nbsp;&nbsp;&nbsp;
  67  <a href='http://validator.w3.org/check?uri=referer' rel='external'><img src='".e_IMAGE."generic/valid-xhtml11.png' alt='' style='border: 0;' /></a> 
  68  <a href='http://jigsaw.w3.org/css-validator/check/referer' rel='external'><img src='".e_IMAGE."generic/vcss.png' alt='' style='border: 0;' /></a>
  69  </div>
  70  </div>
  71  </div>
  72  ";
  73  
  74  $NEWSSTYLE = "
  75  <h3>
  76  {STICKY_ICON}
  77  {NEWSTITLE}
  78  </h3>
  79  <div class='bodytable' style='text-align:left'>
  80  {NEWSBODY}
  81  {EXTENDED}
  82  </div>
  83  <div style='text-align:right' class='smalltext'>
  84  {NEWSAUTHOR}
  85  on
  86  {NEWSDATE}
  87  <br />
  88  <img src='".e_IMAGE."admin_images/userclass_16.png' alt='' style='vertical-align: middle;' />
  89  {NEWSCOMMENTS}{TRACKBACK}
  90  <br />
  91   | <a href='".e_BASE."submitnews.php'>Submit a news item</a>
  92  </div>
  93  <br />";
  94  define("ICONSTYLE", "float: left; border:0");
  95  define("COMMENTLINK", "Read/Post Comment: ");
  96  define("COMMENTOFFSTRING", "Comments are turned off for this item");
  97  define("PRE_EXTENDEDSTRING", "<br /><br />[ ");
  98  define("EXTENDEDSTRING", "Read the rest ...");
  99  define("POST_EXTENDEDSTRING", " ]<br />");
 100  define("TRACKBACKSTRING", "Trackbacks: ");
 101  define("TRACKBACKBEFORESTRING", " | ");
 102  
 103  
 104  // [linkstyle]
 105  
 106  define('PRELINK', "");
 107  define('POSTLINK', "");
 108  define('LINKSTART', "<img src='".THEME."images/bullet2.gif' alt='' /> ");
 109  define("LINKSTART_HILITE", "<img src='".THEME."images/bluearrow_greybg.png' alt='' /> ");
 110  define('LINKEND', "<br />");
 111  define('LINKDISPLAY', 2);
 112  define('LINKALIGN', "left");
 113  
 114  
 115  //    [tablestyle]
 116  
 117  function tablestyle($caption, $text, $mode)
 118  {
 119      echo "<h4><img src='".THEME."images/bluearrow_greybg.png' alt='' />  $caption</h4>\n<br />\n$text\n<br /><br />\n";
 120  }
 121  
 122  $COMMENTSTYLE = "
 123  <table style='width: 100%;'>
 124  <tr>
 125  <td style='width: 30%; text-align: right;'>{USERNAME} @ <span class='smalltext'>{TIMEDATE}</span><br />{AVATAR}<span class='smalltext'>{REPLY}</span></td>
 126  <td style='width: 70%;'>
 127  <div id='lbqtop'>
 128  <div id='pgFrontUserInner'>
 129  <div id='lbqbottom'>
 130  <div id='bglefright'>
 131  <div id='bqcontent'>
 132  <div id='bqtext'>
 133  {COMMENT} {COMMENTEDIT}
 134  </div>
 135  </div>
 136  </div>
 137  </div>
 138  </div>
 139  </div>
 140  </td>
 141  </tr>
 142  </table>
 143  ";
 144  
 145  $POLLSTYLE = <<< EOF
 146  <b>Poll:</b> {QUESTION}
 147  <br /><br />
 148  {OPTIONS=OPTION<br />BAR<br /><span class='smalltext'>PERCENTAGE VOTES</span><br />\n}
 149  <br /><div style='text-align:center' class='smalltext'>{AUTHOR}<br />{VOTE_TOTAL} {COMMENTS}
 150  <br />
 151  {OLDPOLLS}
 152  </div>
 153  EOF;
 154  
 155  $CHATBOXSTYLE = "
 156  <img src='".e_IMAGE."admin_images/chatbox_16.png' alt='' style='vertical-align: middle;' />
 157  <b>{USERNAME}</b>
 158  <div class='smalltext'>
 159  {MESSAGE}
 160  </div>
 161  <br />";
 162  
 163  ?>


Généré le : Sun Apr 1 01:23:32 2007 par Balluche grâce à PHPXref 0.7