| [ 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 10 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 11 <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/content_mgt.dwt" codeOutsideHTMLIsLocked="false" --> 12 <head> 13 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 14 <!-- InstanceBeginEditable name="doctitle" --> 15 <title>Delete an Organization from the Resource Guide</title> 16 <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> 17 18 <script language="javascript"> 19 function deleteOrg() { 20 //This function asks the user to confirm that they want to delete an organization. 21 //If so, it calls the Delete Employee Type page. 22 23 var selectedOrg = document.getElementById("organizationList").value; 24 25 var confirmDelete = confirm("Are you sure you want to delete this organization?"); 26 27 if (confirmDelete == true) 28 { 29 window.location="delete_organization_handler?organizationList=" + selectedOrg; 30 } 31 else 32 { 33 return false; 34 } 35 36 } //end function "deleteOrg" 37 38 </script> 39 <!-- InstanceEndEditable --> 40 <link href="../css/styles_plus_one.css" rel="stylesheet" type="text/css" /> 41 <link href="../css/styles_plus_two.css" rel="stylesheet" type="text/css" /> 42 <link href="../css/styles.css" rel="stylesheet" type="text/css" /> 43 <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> 44 <script src="../Scripts/utility.js" type="text/javascript"></script> 45 46 <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --> 47 </head> 48 49 <body> 50 <div id="wrapper"> 51 <div id="topBar"><a href="../site_search.html">Search</a><a href="../faqs.html">FAQs</a><a href="../sitemap.html">Site Map</a></div> 52 <div id="headerBar"><script type="text/javascript"> 53 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 54 </script><noscript> 55 <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"> 56 <param name="movie" value="../swf/header2.swf" /> 57 <param name="quality" value="high" /> 58 <embed src="../swf/header2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="770" height="120"></embed> 59 </object></noscript> 60 </div> 61 <div id="navBar"> 62 <a href="../index.html" class="menuItem">Home</a> 63 <a href="../firm/our_firm.html" class="menuItem">Our Firm</a> 64 <a href="../results/verdicts_settlements.html" class="menuItem">Verdicts & Settlements</a> 65 <a href="../practices/our_practices.html" class="menuItem">Our Practices</a> 66 <a href="../attorneys/attorneys_staff.html" class="menuItem">Our Attorneys</a> 67 <a href="resources.html" class="menuItem">Resources</a> 68 <a href="../community/community_outreach.html" class="menuItem">Community Outreach</a> 69 <a href="../contact/contact.html" class="menuItem">Contact Us</a> 70 71 72 </div> 73 74 75 <div id="mainBody"> 76 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 77 <tr> 78 <td id="leftNav"> 79 <a href="the_guide.php" class="subNav">THE GUIDE</a> 80 <br/> 81 <a href="add_category.php" class="subNav">Add a Category</a> 82 <a href="delete_category.php" class="subNav">Delete a Category</a> 83 <a href="update_category_chooser.php" class="subNav">Modify a Category</a> 84 <br/> 85 <a href="add_organization.php" class="subNav">Add an Organization</a> 86 <a href="delete_organization.php" class="subNav">Delete an Organization</a> 87 <a href="update_organization_chooser.php" class="subNav">Modify an Organization</a> 88 89 </td> 90 <td id="contentArea"> 91 92 93 94 95 <!-- InstanceBeginEditable name="contentRegion" --> 96 97 <h1>Delete an Organization</h1> 98 <table border="0" cellpadding="0" cellspacing="2" width="180"> 99 100 <form name="deleteOrganizationForm" onSubmit="return deleteOrg();" action="delete_organization_handler.php" method="post"> 101 <tr> 102 <td><select name="organizationList" size="10"> 103 <?php 104 $db->Query('SELECT id, name FROM organization order by name'); 105 106 // getting all columns from all rows 107 while($db->GetNextRecord()) // get row 108 { 109 ?> 110 <option value="<?php echo $db->GetField('id');?>"><?php echo $db->GetField('name'); ?></option> 111 <?php 112 113 } 114 $db->CloseConnection(); 115 ?> 116 </select></td></tr> 117 118 <tr> 119 <td><input type="submit" style="margin-top: 10px; margin-bottom: 10px;" name="organizationSubmit" value="Delete Organization"></td> 120 <td></td> 121 </tr> 122 </form> 123 </table> 124 125 126 <!-- InstanceEndEditable --></td> 127 </tr> 128 </table> 129 </div> 130 <div id="addressBar">1801 Century Park East - Suite 1920 - Los Angeles CA 90067 | TEL: (310) 553-1799 | Toll-Free: (800) 425-5557<br /> 131 2700 N. Central Avenue - Suite 1400 - Phoenix AZ 85004 | TEL: (602) 285-4406 | Toll-Free: (800) 425-5557</div> 132 <div id="footerBar"> 133 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 134 <tr> 135 <td style="padding-left:12px">© Copyright 2006 Heimberg Law Group, LLP. All Rights Reserved. </td> 136 <td align="right" style="padding-right:12px"><a href="../disclaimer.html">Disclaimer</a></td> 137 </tr> 138 </table> 139 </div> 140 </div> 141 </body> 142 <!-- 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 |