| [ Index ] |
PHP Cross Reference of Drupal 6 (heimberg) |
[Summary view] [Print] [Text view]
1 <?php 2 include ("check_password.php"); 3 4 require_once ('DbLib-12.php'); 5 $db = &new DbLibMySQL; 6 $db->OpenConnection(); 7 ?> 8 9 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 10 <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/content_mgt.dwt" codeOutsideHTMLIsLocked="false" --> 11 <head> 12 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 13 <!-- InstanceBeginEditable name="doctitle" --> 14 <title>Add a Category to the Resource Guide</title> 15 <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> 16 <!-- InstanceEndEditable --> 17 <link href="../css/styles_plus_one.css" rel="stylesheet" type="text/css" /> 18 <link href="../css/styles_plus_two.css" rel="stylesheet" type="text/css" /> 19 <link href="../css/styles.css" rel="stylesheet" type="text/css" /> 20 <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> 21 <script src="../Scripts/utility.js" type="text/javascript"></script> 22 23 <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --> 24 </head> 25 26 <body> 27 <div id="wrapper"> 28 <div id="topBar"><a href="../site_search.html">Search</a><a href="../faqs.html">FAQs</a><a href="../sitemap.html">Site Map</a></div> 29 <div id="headerBar"><script type="text/javascript"> 30 AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','width','770','height','120','src','../swf/header2','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','../swf/header2' ); //end AC code 31 </script><noscript> 32 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="770" height="120"> 33 <param name="movie" value="../swf/header2.swf" /> 34 <param name="quality" value="high" /> 35 <embed src="../swf/header2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="770" height="120"></embed> 36 </object></noscript> 37 </div> 38 <div id="navBar"> 39 <a href="../index.html" class="menuItem">Home</a> 40 <a href="../firm/our_firm.html" class="menuItem">Our Firm</a> 41 <a href="../results/verdicts_settlements.html" class="menuItem">Verdicts & Settlements</a> 42 <a href="../practices/our_practices.html" class="menuItem">Our Practices</a> 43 <a href="../attorneys/attorneys_staff.html" class="menuItem">Our Attorneys</a> 44 <a href="resources.html" class="menuItem">Resources</a> 45 <a href="../community/community_outreach.html" class="menuItem">Community Outreach</a> 46 <a href="../contact/contact.html" class="menuItem">Contact Us</a> 47 48 49 </div> 50 51 52 <div id="mainBody"> 53 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 54 <tr> 55 <td id="leftNav"> 56 <a href="the_guide.php" class="subNav">THE GUIDE</a> 57 <br/> 58 <a href="add_category.php" class="subNav">Add a Category</a> 59 <a href="delete_category.php" class="subNav">Delete a Category</a> 60 <a href="update_category_chooser.php" class="subNav">Modify a Category</a> 61 <br/> 62 <a href="add_organization.php" class="subNav">Add an Organization</a> 63 <a href="delete_organization.php" class="subNav">Delete an Organization</a> 64 <a href="update_organization_chooser.php" class="subNav">Modify an Organization</a> 65 66 </td> 67 <td id="contentArea"> 68 69 70 71 72 <!-- InstanceBeginEditable name="contentRegion" --> 73 74 <h1>Add a Category</h1> 75 <table border="0" cellpadding="0" cellspacing="2" width="180"> 76 <form name="addCategoryForm" action="add_catgegory_handler.php" method="post"> 77 <tr> 78 <td>Name:</td> 79 <td><input type="text" name="name" size="50"></td> 80 </tr> 81 <tr> 82 <td>State:</td> 83 <td><select name="state"> 84 <option value="" selected >No State</option> 85 <option value="CA">California</option> 86 <option value="AZ">Arizona</option> 87 <option value="BOTH">Both CA & AZ</option> 88 </select> 89 </td> 90 </tr> 91 <tr> 92 <td valign="top">Parent Category:*</td> 93 <td><select name="parentCategoryList" size="8"> 94 <option value="" selected >No Parent Category</option> 95 <?php 96 $db->Query('SELECT name, id FROM category WHERE parentCatId IS NULL order by name'); 97 98 // getting all columns from all rows 99 while($db->GetNextRecord()) // get row 100 { 101 ?> 102 <option value="<?php echo $db->GetField('id');?>"><?php echo strtoupper($db->GetField('name')); ?></option> 103 <?php } ?> 104 105 </select></td> 106 </tr> 107 <tr> 108 <td> </td> 109 <td><input type="submit" style="margin-top: 10px; margin-bottom: 10px;" name="categorySubmit" value="Add Category" /></td> 110 </tr> 111 <tr> 112 <td> </td> 113 <td>* For example, if you are creating a subcategory under "Support Groups", then "Support Groups" would be the parent. </td> 114 </tr> 115 </form> 116 117 </table> 118 119 120 121 122 123 <!-- InstanceEndEditable --></td> 124 </tr> 125 </table> 126 </div> 127 <div id="addressBar">1801 Century Park East - Suite 1920 - Los Angeles CA 90067 | TEL: (310) 553-1799 | Toll-Free: (800) 425-5557<br /> 128 2700 N. Central Avenue - Suite 1400 - Phoenix AZ 85004 | TEL: (602) 285-4406 | Toll-Free: (800) 425-5557</div> 129 <div id="footerBar"> 130 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 131 <tr> 132 <td style="padding-left:12px">© Copyright 2006 Heimberg Law Group, LLP. All Rights Reserved. </td> 133 <td align="right" style="padding-right:12px"><a href="../disclaimer.html">Disclaimer</a></td> 134 </tr> 135 </table> 136 </div> 137 </div> 138 </body> 139 <!-- InstanceEnd --></html>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Mar 23 13:22:29 2011 | Cross-referenced by PHPXref 0.7 |