示例#1
0
?>
"> 
            </td>
          </tr>
          <tr> 
            <td valign="top" class="name">Alt Tag<br>
              (short!)</td>
            <td> <input name="alttag" type="textarea" id="alttag" value="<?php 
echo $type->Fields("alttag");
?>
" size="50"> 
            </td>
          </tr>
          <tr class="intitle"> 
            <td colspan="2" valign="top"><?php 
echo helpme("region");
?>
Regional 
              Content</td>
          </tr>
          <tr> 
            <td class="name"> State</td>
            <td><select name="state">
                <option value="">Select State</option>
                <?php 
if ($state__totalRows > 0) {
    $state__index = 0;
    $state->MoveFirst();
    while ($state__index < $state__totalRows) {
        ?>
                <option value="<?php 
示例#2
0
文件: imgdir.php 项目: radicalsuz/amp
    }
}
# Use arsort to get most recent first
# and asort to get oldest first
if ($_GET['sort'] == 'date') {
    arsort($fileArr);
} elseif ($_GET['sort'] == 'name') {
    uksort($fileArr, "strnatcasecmp");
} else {
    uksort($fileArr, "strnatcasecmp");
}
$numberOfFiles = sizeOf($fileArr);
include "header.php";
?>
<h2><?php 
echo helpme("");
?>
Images</h2>
      <P><a href="gallery_image.php?action=list">view image gallery</a><br>
	  <a href="resize.php?action=resize">resize images to current system settings</a>
	  </P>
 
<div class='list_table'> 	<table class='list_table'>
	<tr class="intitle">
<td>Thumbnail</td>
	<td ><a href="imgdir.php?sort=name" class="intitle">File Name</a></td>	
		<td><a href="imgdir.php?sort=date" class="intitle">Date</a></td>
			<td>ID</td>
		<td>Gallery</td>
		<td>Section</td>
	<?php 
示例#3
0
?>
Edit CSS File<?php 
echo $msg_action;
?>
</h2>
		<form ACTION="<?php 
echo $MM_editAction;
?>
" METHOD="POST" name="form" id="form">

        <input name="submit2" type="submit" value="Save Changes">
        <br>
        <table width="90%" border="0">
          <tr> 
            <td colspan="2" class="intitle"><?php 
echo helpme("CSS");
?>
CSS</td>
          </tr>
          <tr> 
            <td valign="top" class="name"><p>CSS<br>
              </p>
              <p>&nbsp; </p></td>
            <td class="name"> <textarea name="cssedit" cols="65" rows="40" wrap="VIRTUAL" id="cssedit"><?php 
echo $contents;
?>
</textarea>
              <br>
              <br>
				<input type="hidden" name="filename" value="<?php 
echo $filename;
示例#4
0
        $filepath = "";
    } else {
        $msg_action = " : Unable to write to file " . $filename;
        $contents = $_POST['include_edit'];
    }
    fclose($fp);
}
if (file_exists($filepath)) {
    if (!isset($msg_action)) {
        if ($contents = file_get_contents($filepath, true)) {
            $msg_action = " : " . basename($filename);
        } else {
            $msg_action = " : couldn't open " . basename($filename);
        }
    }
    $output = "<h2>" . helpme("Overview") . "Edit Custom File{$msg_action}</h2>";
    $output .= "<form ACTION=\"" . $_SERVER['PHP_SELF'] . "\" METHOD=\"POST\" name=\"form\" id=\"form\">";
    $output .= '<input name="submit2" type="submit" value="Save Changes">
            <br>
            <table width="90%" border="0">
            <tr> 
                <td class="name"> <textarea name="include_edit" cols="85" rows="40" wrap="VIRTUAL" id="include_edit">' . $contents . '</textarea>
                <br>
                <br>
                    <input type="hidden" name="filename" value="' . $filename . '">
                </td>
            </tr>
            </table>
    <p> 
    <input name="submit" type="submit" value="Save Changes">
        </form>';
示例#5
0
        echo $state->Fields("title");
        ?>
 </option>
                <?php 
        $state->MoveNext();
        $state__index++;
    }
    $state__index = 0;
    $state->MoveFirst();
}
?>
              </select></td>
          </tr>
          <tr class="intitle"> 
            <td colspan="2" valign="top"><?php 
echo helpme("Editor Notes");
?>
 
              Editor Notes</td>
          </tr>
          <tr> 
		  
            <td colspan="2" valign="top"><textarea name="notes" cols="65" rows="5" wrap="VIRTUAL"><?php 
echo htmlspecialchars($r->Fields("notes"));
?>
</textarea></td>
          </tr>
		<tr class="intitle"> 
            <td colspan="2" valign="top">WYSIWYG Settings</td>
          </tr>
          <tr> 
示例#6
0
            <td class="name">Redirect the section to this URL</td>
            <td class="name"> <input type="text" name="linkurl" size="45" value="<?php echo $subtype->Fields("linkurl")?>"> 
              <br> <input name="uselink" type="checkbox" id="uselink" value="checkbox" <?php If (($subtype->Fields("uselink")) == "1") { echo "CHECKED";} ?>>Enable above redirect</td>
          </tr>
		    <tr> 
		    <tr class="intitle"> 
            <td colspan="2"><?php echo helpme("protect"); ?>Section Security</td>
          </tr>
		  <tr> 
            <td class="name">Require login to view section</td>
            <td><input name="secure" type="checkbox" id="secure" value="1" <?php If (($subtype->Fields("secure")) == "1") { echo "CHECKED";} ?>> 
            </td>
          </tr>
          
             <tr class="intitle"> 
            <td colspan="2"><?php echo helpme("style"); ?>Style Features </td>
          </tr>
          <tr> 
            <td class="name">Different css file to use</td>
            <td> <input name="css" type="text" value="<?php echo $subtype->Fields("css")?>" size="45" ><BR><span class="name">(use commas to include multiple files)</span> 
            </td>
          </tr>
          <tr> 
            <td class="name">Template</td>
            <td><select name="templateid" id="templateid">
                <option value="">none</option>
                <?php
  if ($templatelab__totalRows > 0){
    $templatelab__index=0;
    $templatelab->MoveFirst();
    WHILE ($templatelab__index < $templatelab__totalRows){
示例#7
0
                  <td> <input type="text" name="image2" size="50" value="<?php 
echo $subtype->Fields("image2");
?>
"> 
                  </td>
                </tr>
                <tr> 
                  <td class="name">Image 2 Caption</td>
                  <td> <textarea name="cap" wrap="VIRTUAL" cols="45" rows="3"><?php 
echo $subtype->Fields("imgcap");
?>
</textarea></td>
                </tr>
                <tr> 
                  <td colspan="2" class="intitle"><?php 
echo helpme("Style Features");
?>
Style Features</td>
                </tr>
                <tr> 
                  <td class="name">Different css file to use</td>
                  <td> <input name="css" type="text" value="<?php 
echo $subtype->Fields("css");
?>
" size="45" > 
                  </td>
                </tr>
                <tr> 
                  <td class="name">Flash Navigation File to Use</td>
                  <td><input name="flash" type="text" id="flash" value="<?php 
echo $subtype->Fields("flash");