| [ Index ] |
PHP Cross Reference of Drupal 6 (heimberg) |
[Summary view] [Print] [Text view]
1 <?php 2 echo ($_Request[organizationList]); 3 if($_REQUEST[organizationList] != null){ 4 require_once ('select_inc.php'); 5 $db = &new DbLibMySQL; 6 $db->OpenConnection(); 7 $db->Query('SELECT name, id, description, phone, url, state, catId FROM organization where id = ' . $_REQUEST[organizationList]); 8 $db->GetNextRecord(); 9 $cat = $db->GetField('catId'); 10 $db->CloseConnection(); 11 $dropDownList = createCategoryDropDownListItems($cat); 12 } else { 13 //redirect 14 header( 'Location: update_organization_chooser.php' ) ; 15 } 16 ?> 17 18 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/content_mgt.dwt" codeOutsideHTMLIsLocked="false" --> 19 <head> 20 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 21 <!-- InstanceBeginEditable name="doctitle" --> 22 <title>Modify an Organization in the Resource Guide</title> 23 <meta name="ROBOTS" content="NOINDEX, NOFOLLOW" /> 24 <!-- InstanceEndEditable --> 25 <link href="../css/styles_plus_one.css" rel="stylesheet" type="text/css" /> 26 <link href="../css/styles_plus_two.css" rel="stylesheet" type="text/css" /> 27 <link href="../css/styles.css" rel="stylesheet" type="text/css" /> 28 <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> 29 <script src="../Scripts/utility.js" type="text/javascript"></script> 30 31 <!-- InstanceBeginEditable name="head" --> 32 33 34 <!-- InstanceEndEditable --> 35 </head> 36 37 <body> 38 <div id="wrapper"> 39 <div id="topBar"><a href="../site_search.html">Search</a><a href="../faqs.html">FAQs</a><a href="../sitemap.html">Site Map</a></div> 40 <div id="headerBar"><script type="text/javascript"> 41 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 42 </script><noscript> 43 <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"> 44 <param name="movie" value="../swf/header2.swf" /> 45 <param name="quality" value="high" /> 46 <embed src="../swf/header2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="770" height="120"></embed> 47 </object></noscript> 48 </div> 49 <div id="navBar"> 50 <a href="../index.html" class="menuItem">Home</a> 51 <a href="../firm/our_firm.html" class="menuItem">Our Firm</a> 52 <a href="../results/verdicts_settlements.html" class="menuItem">Verdicts & Settlements</a> 53 <a href="../practices/our_practices.html" class="menuItem">Our Practices</a> 54 <a href="../attorneys/attorneys_staff.html" class="menuItem">Our Attorneys</a> 55 <a href="resources.html" class="menuItem">Resources</a> 56 <a href="../community/community_outreach.html" class="menuItem">Community Outreach</a> 57 <a href="../contact/contact.html" class="menuItem">Contact Us</a> 58 59 60 </div> 61 62 63 <div id="mainBody"> 64 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 65 <tr> 66 <td id="leftNav"> 67 <a href="the_guide.php" class="subNav">THE GUIDE</a> 68 <br/> 69 <a href="add_category.php" class="subNav">Add a Category</a> 70 <a href="delete_category.php" class="subNav">Delete a Category</a> 71 <a href="update_category_chooser.php" class="subNav">Modify a Category</a> 72 <br/> 73 <a href="add_organization.php" class="subNav">Add an Organization</a> 74 <a href="delete_organization.php" class="subNav">Delete an Organization</a> 75 <a href="update_organization_chooser.php" class="subNav">Modify an Organization</a> 76 77 </td> 78 <td id="contentArea"> 79 80 81 82 83 <!-- InstanceBeginEditable name="contentRegion" --> 84 <h1>Modify an Organization</h1> 85 <table border="0" cellpadding="0" cellspacing="2" width="180"> 86 <form action="update_organization_handler.php" method="post" name="updateOrganizationForm" id="updateOrganizationForm"> 87 <tr> 88 <td>Name:</td> 89 <td><input type="text" name="name" size="50" value="<?php echo $db->GetField('name');?>" /></td> 90 <input type="hidden" name="id" value="<?php echo $db->GetField('id');?>" /> 91 </tr> 92 <tr> 93 <td>Description</td> 94 <td><textarea name="description" cols="36"><?php echo $db->GetField('description');?></textarea></td> 95 </tr> 96 <tr> 97 <td>Phone:</td> 98 <td><input type="text" name="phone" size="50" value="<?php echo $db->GetField('phone');?>" /></td> 99 </tr> 100 <tr> 101 <td>URL:</td> 102 <td><input type="text" name="url" size="50" value = "<?php echo $db->GetField('url');?>" /></td> 103 </tr> 104 <tr> 105 <td valign="top">Category:</td> 106 <td><select name="categoryList" size="10"> 107 <?php 108 echo $dropDownList; 109 ?> 110 </select> 111 </td></tr> 112 113 <tr> 114 <td>State:</td> 115 <td><select name="state" size="1"> 116 <option value="CA" 117 <?php if($db->GetField('state') == 'CA'){ echo "selected"; } ?> 118 >CA</option> 119 <option value="AZ" 120 <?php if($db->GetField('state') == 'AZ'){ echo "selected"; } ?> 121 >AZ</option> 122 <option value="BOTH" 123 <?php if($db->GetField('state') == 'BOTH'){ echo "selected"; } ?> 124 >BOTH</option> 125 </select></td> 126 </tr> 127 128 <tr> 129 <td> </td> 130 <td><input type="submit" style="margin-top: 10px; margin-bottom: 10px;" name="organizationSubmit" value="Modify Organization" /></td> 131 </tr> 132 </form> 133 </table> 134 <p></p> 135 <!-- InstanceEndEditable --></td> 136 </tr> 137 </table> 138 </div> 139 <div id="addressBar">1801 Century Park East - Suite 1920 - Los Angeles CA 90067 | TEL: (310) 553-1799 | Toll-Free: (800) 425-5557<br /> 140 2700 N. Central Avenue - Suite 1400 - Phoenix AZ 85004 | TEL: (602) 285-4406 | Toll-Free: (800) 425-5557</div> 141 <div id="footerBar"> 142 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 143 <tr> 144 <td style="padding-left:12px">© Copyright 2006 Heimberg Law Group, LLP. All Rights Reserved. </td> 145 <td align="right" style="padding-right:12px"><a href="../disclaimer.html">Disclaimer</a></td> 146 </tr> 147 </table> 148 </div> 149 </div> 150 </body> 151 <!-- 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 |