Public feed #604280

Untitled

public php v1 · immutable
Raw Edit
·published 2007-07-05 12:30 UTC
rendered paste body
<?php	require ('./requires.php');		if(!in_array(GROUP_NEWS, $user_info['groups'])) {		header("Location: $admin[redirect]");		}	else {	}	?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title><?php echo $title['help-add'] ?></title><link href="../styles.css" rel="stylesheet" type="text/css" /></head><body><?php echo $top ?><div id="main">  <table width="100%" border="0" cellpadding="0" cellspacing="0">    <tr>      <td rowspan="2" class="left"><p><img src="../images/admin.png" alt="News" width="92" height="24" class="news" /></p>        <div class="article">          <h2>Add a help item to the PhpInstall Helpbase</h2>          <p>Use this tool to add help items to the PhpInstall Helpbase</p>          <form id="form1" method="post" action="help-add2.php">            <table width="400" border="0" cellpadding="0" cellspacing="0">              <tr>                <td>Title:</td>              </tr>              <tr>                <td><label>                  <input name="title" type="text" class="fieldtitle" id="title" />                  </label></td>              </tr>              <tr>                <td>&nbsp;</td>              </tr>              <tr>                <td>Content:</td>              </tr>                            <tr>                <td><label>                  <textarea name="content" cols="45" rows="5" class="fieldcontent" id="content"></textarea>                </label></td>              </tr>              <tr>                <td>&nbsp;</td>              </tr>              <tr>                <td>Type:</td>              </tr>              <tr>                <td><p>                  <label>                    <input type="radio" name="type" value="site" id="RadioGroup1_0" />                    Site Related Help Question</label>                  <br />                  <label>                    <input type="radio" name="type" value="error" id="RadioGroup1_1" />                    PhpInstall Software error-related question</label>                    <br />                  <label>                    <input type="radio" name="type" value="other" id="RadioGroup1_1" />                    PhpInstall other question</label>                  </p>                  </td>              </tr>              <tr>                <td>&nbsp;</td>              </tr>              <tr>                <td>Frequently aksed question?</td>              </tr>              <tr>                <td><label>                  <input type="checkbox" name="faq" id="faq" value="0" />                </label></td>              </tr>              <tr>                <td>&nbsp;</td>              </tr>              <tr>                <td>Error Code:</td>              </tr>              <tr>                <td><label>                  <input name="errorcode" type="text" id="errorcode" size="5" maxlength="5" />                </label></td>              </tr>              <tr>                <td align="right"><input type="submit" name="button" id="button" value="Submit" />                </td>              </tr>            </table>            <label></label>          </form>        </div></td>      <td></td>    </tr>    <tr>      <td class="right"><?php echo $right2 ?></td>    </tr>  </table>  <?php echo $footer ?> </div></body></html>