[ Index ]
 

Code source de XOOPS 2.0.17.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/htdocs/install/ -> install_tpl.php (source)

   1  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   2  <html>
   3  <head>
   4    <title>XOOPS Custom Installation</title>
   5    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo _INSTALL_CHARSET ?>" />
   6    <style type="text/css" media="all"><!-- @import url(../xoops.css); --></style>
   7    <link rel="stylesheet" type="text/css" media="all" href="style.css" />
   8  </head>
   9  <body style="margin: 0; padding: 0;">
  10  <form action='index.php' method='post'>
  11  <table width="778" align="center" cellpadding="0" cellspacing="0" background="img/bg_table.gif">
  12    <tr>
  13      <td width="150"><img src="img/hbar_left.gif" width="100%" height="23" alt="" /></td>
  14      <td width="478" background="img/hbar_middle.gif">&nbsp;</td>
  15      <td width="150"><img src="img/hbar_right.gif" width="100%" height="23" alt="" /></td>
  16    </tr>
  17    <tr>
  18      <td width="150"><a href="index.php"><img src="img/logo.gif" width="150" height="80" alt="" /></a></td>
  19      <td width="478" background="img/bg_darkblue.gif">&nbsp;</td>
  20      <td width="150"><img src="img/xoops2.gif" width="100%" height="80" /></td>
  21    </tr>
  22    <tr>
  23      <td width="150"><img src="img/hbar_left.gif" width="100%" height="23" alt="" /></td>
  24      <td width="478" background="img/hbar_middle.gif">&nbsp;</td>
  25      <td width="150"><img src="img/hbar_right.gif" width="100%" height="23" alt="" /></td>
  26    </tr>
  27  </table>
  28  
  29  <table width="778" align="center" cellspacing="0" cellpadding="0" background="img/bg_table.gif">
  30    <tr>
  31      <td width='5%'>&nbsp;</td>
  32      <td colspan="3"><?php if(!empty($title)) echo '<h4 style="margin-top: 10px; margin-bottom: 5px; padding: 10px;">'.$title.'</h4>'; echo '<div style="padding: 10px;">'.$content.'</div>'; ?></td>
  33      <td width='5%'>&nbsp;</td>
  34    </tr>
  35    <tr>
  36      <td width='5%'>&nbsp;</td>
  37      <td width='35%' align='left'><?php echo b_back($b_back); ?></td>
  38      <td width='20%' align='center'><?php echo b_reload($b_reload); ?></td>
  39      <td width='35%' align='right'><?php echo b_next($b_next); ?></td>
  40      <td width='5%'>&nbsp;</td>
  41    </tr>
  42    <tr>
  43      <td colspan="5">&nbsp;</td>
  44    </tr>
  45  </table>
  46  
  47  <table width="778" cellspacing="0" cellpadding="0" align="center" background="img/bg_table.gif">
  48    <tr>
  49      <td width="150"><img src="img/hbar_left.gif" width="100%" height="23" alt="" /></td>
  50      <td width="478" background="img/hbar_middle.gif">&nbsp;</td>
  51      <td width="150"><img src="img/hbar_installer_right.gif" width="100%" height="23" alt="" /></td>
  52    </tr>
  53  </table>
  54  </form>
  55  </body>
  56  </html>
  57  <?php
  58  function b_back($option = null)
  59  {
  60      if(!isset($option) || !is_array($option)) return '';
  61      $content = '';
  62      if(isset($option[0]) && $option[0] != ''){
  63          $content .= "<input type='button' value='"
  64              ._INSTALL_L42."' onclick=\"location='index.php?op="
  65              .htmlspecialchars($option[0])."'\" /> ";
  66      }else{
  67          $content .= "<input type='button' value='"
  68              ._INSTALL_L42."' onclick=\"javascript:history.back();\" /> ";
  69      }
  70      if(isset($option[1]) && $option[1] != ''){
  71          $content .= "<span style='font-size:85%;'><< "
  72                  .htmlspecialchars($option[1])."</span> ";
  73      }
  74      return $content;
  75  }
  76  
  77  function b_reload($option=''){
  78      if(empty($option)) return '';
  79      if (!defined('_INSTALL_L200')) {
  80          define('_INSTALL_L200', 'Reload');
  81      }
  82      return  "<input type='button' value='"._INSTALL_L200."' onclick=\"location.reload();\" /> ";
  83  }
  84  
  85  function b_next($option=null){
  86      if(!isset($option) || !is_array($option)) return '';
  87      $content = '';
  88      if(isset($option[1]) && $option[1] != ''){
  89          $content .= "<span style='font-size:85%;'>"
  90                  .htmlspecialchars($option[1])." >></span>";
  91      }
  92      $content .= "<input type='hidden' name='op' value='"
  93                  .htmlspecialchars($option[0])."' />\n";
  94      $content .= "<input type='submit' name='submit' value='"._INSTALL_L47."' />\n";
  95      return $content;
  96  }
  97  ?>


Généré le : Sun Nov 25 11:44:32 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics