topical media & game development
[] readme course(s) preface I 1 2 II 3 4 III 5 6 7 IV 8 9 10 V 11 12 afterthought(s) appendix reference(s) example(s) resource(s) _

talk show tell print


          if (isset(_COOKIE['admin_Id'])) {
          } else {
          header('Location: index.php');
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
  <html xmlns="">
  <!-- DW6 -->
  <!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
  <title>Climate Portal Content Management System</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="cms.css" type="text/css" />
  <style type="text/css">
  .style1 {color: #FFFFFF}
  .style3 {color: #CCFFCC}
  .style5 {font-size: 24px}
  .style6 {color: #D4D0C8}
  <body bgcolor="#cccccc">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <td width="15" nowrap="nowrap"><img src="file: 
D|/Program%20Files/%5Bwebdesign%5D/dreamweaver%208/Dreamweaver%208/Configuration/BuiltIn/StarterPages/mm_spacer.gif" alt="" width="15" height="1" border="0" /></td>

<td height="74" colspan="3" class="logo" nowrap="nowrap"><br /> <span class="style1"> CLIMATE<span class="style3">PORTAL</span> <span class="style5">CMS</span></span> </td> <td width="4">&nbsp;</td> <td width="574">&nbsp;</td> </tr> <tr bgcolor="#ffffff"> <td colspan="6"></td> </tr> <tr bgcolor="#a4c2c2"> <td width="15" nowrap="nowrap">&nbsp;</td> <td height="36" colspan="3" id="navigation" class="navText"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="style6">ADD ITEM </a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EDIT ITEM </a>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CATEGORIES </a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; USER MANAGEMENT</a></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RSS ADMIN</a></span></td> <td width="4">&nbsp;</td> <td width="574">&nbsp;</td> </tr> <tr bgcolor="#ffffff"> <td colspan="6"><img src="file:
D|/Program%20Files/%5Bwebdesign%5D/dreamweaver%208/Dreamweaver%208/Configuration/BuiltIn/StarterPages/mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>

</tr> <tr bgcolor="#ffffff"> <td colspan="2" valign="top" bgcolor="#a4c2c2">&nbsp;</td> <td width="50" valign="top"><img src="file:
D|/Program%20Files/%5Bwebdesign%5D/dreamweaver%208/Dreamweaver%208/Configuration/BuiltIn/StarterPages/mm_spacer.gif" alt="" width="50" height="1" border="0" /></td>

<td width="536" valign="top"><br /> <br /> <table border="0" cellspacing="0" cellpadding="0" width="600"> <tr> <td width="600" class="pageName"><p>Add a Video </p></td> </tr> <tr> <td class="bodyText"> <form method="post" enctype="multipart/form-data" action=<post.php>> <table> <tr> <td width="150"> Title: </td> <td> <input type="text" name="title" size="30" value="<?php echo _POST['title']; ?>" /> </td> </tr> <tr> <td width="150"> Date: </td> <td> <input type="text" name="date" size="30" value="<?php echo _POST['date']; ?>"/> </td> </tr> <tr> <td width="150"> Description: </td> <td> <input type="text" name="description" size="30" value="<?php echo _POST['description']; ?>"/> </td> </tr> <tr> <td width="150"> Video: </td> <td width="150"> <input type="hidden" name="MAX_FILE_SIZE" value="100000" /> <input type="hidden" name="upload" value="1" /> Choose a file to upload: <input name="uploadedfile" type="file" /><br /> </td> <tr> <td width="150"> Sourcename: </td> <td> <input type="text" name="sourcename" size="30" value="<?php echo _POST['sourcename']; ?>"/> </td> </tr> <tr> <td> Source url: </td> <td> <input type="text" name="sourceurl" size="30" value="<?php echo _POST['sourceurl']; ?>"/> </td> </tr> <tr> <td width="150"> Video Format: </td> <td> <input type="text" name="videoformat" size="30" value="<?php echo _POST['videoformat']; ?>"> </td> </tr> <tr> <td width="150"> Video Resolution: </td> <td> <input type="text" name="videoresolution" size="30" value="<?php echo _POST['videoresolution']; ?>"> </td> </tr> <tr> <td width="150"> Video Length: </td> <td> <input type="text" name="videolength" size="30" value="<?php echo _POST['videolength']; ?>"> </td> </tr> <tr> <td width="150"> Video Size: </td> <td> <input type="text" name="videosize" size="30" value="<?php echo _POST['videosize']; ?>"> </td> </tr> <tr> <td width="150"> Content state: </td> <td> <input type="text" name="contentstate" size="30" value="<?php echo _POST['contentstate']; ?>"/> </td> </tr> <tr> <td> Categories: </td> <td> Health: <input type="checkbox" name="health" value="1" <?php health=row2['health']; if(health == "1"){echo " CHECKED";}?>> <br /> Politics: <input type="checkbox" name="politics" value="1" <?php politics=row2['politics']; if(politics == "1"){echo " CHECKED";}?>> <br /> Wildlife <input type="checkbox" name="wildlife" value="1" <?php wildlife=row2['wildlife']; if(wildlife == "1"){echo " CHECKED";}?>> <br /> Energy <input type="checkbox" name="energy" value="1" <?php energy=row2['energy']; if(energy == "1"){echo " CHECKED";}?>> <br /> Business <input type="checkbox" name="business" value="1" <?php business=row2['business']; if(business == "1"){echo " CHECKED";}?>> <br /> Climate <input type="checkbox" name="climate" value="1" <?php climate=row2['climate']; if(climate == "1"){echo " CHECKED";}?>> <br /> Pollution <input type="checkbox" name="pollution" value="1" <?php pollution=row2['pollution']; if(pollution == "1"){echo " CHECKED";}?>> <br /> Technology <input type="checkbox" name="technology" value="1" <?php technology=row2['technology']; if(technology == "1"){echo " CHECKED";}?>> <br /> Lifestyle <input type="checkbox" name="lifestyle" value="1" <?php lifestyle=row2['lifestyle']; if(lifestyle == "1"){echo " CHECKED";}?>> <br /> Environment <input type="checkbox" name="environment" value="1" <?php environment=row['environment']; if(environment == "1"){echo " CHECKED";}?>> <br /> </td> </tr> <tr> <td width="150"> Region: </td> <td> <input type="text" name="region" size="30" value="<?php echo row2['region']; ?>"/> </td> </tr> <tr> <td width="150"> Keywords: </td> <td> <input type="text" name="keywords" size="30" value="<?php echo row3['keyword_name']; ?>"/> </td> </tr> <tr> <td><input name="reset" type="reset" value="Herstel" /> </td> <td><input type="submit" value="Verstuur" name="verstuur" /> </td> </tr> </table> <input type="hidden" name="contenttype" value="2"> </form> <p><br /> </p></td> </tr> </table> </td> <td width="4">&nbsp;</td> <td width="574">&nbsp;</td> </tr> <tr> <td colspan="6"> <img src="file:

alt="" width="1" height="1" border="0" /></td> </tr> <tr> <td width="15">&nbsp;</td> <td width="4">&nbsp;</td> <td width="50">&nbsp;</td> <td width="536">&nbsp;</td> <td width="4">&nbsp;</td> <td width="574">&nbsp;</td> </tr> </table> </body> </html>

(C) A. Eliëns 2/9/2007

You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.