[ Index ]

PHP Cross Reference of Drupal 6 (heimberg)

title

Body

[close]

/ -> delete_organization_handler.php (source)

   1  <?php
   2  if($_REQUEST[organizationList] != null){
   3      require_once ('DbLib-12.php');
   4      $db = &new DbLibMySQL;
   5      $db->OpenConnection();
   6      $sql = "DELETE FROM organization WHERE id = $_REQUEST[organizationList]";
   7      $db->Query($sql);
   8  
   9      $db->CloseConnection();
  10  
  11      $msg = "The organization was deleted.";
  12  } else {
  13      //redirect

  14      header( 'Location: delete_organization.php' ) ;
  15  }
  16  ?>
  17  <!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" -->
  18  <head>
  19  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  20  <!-- InstanceBeginEditable name="doctitle" -->
  21  <title>Handler for the Delete Organization Form</title>
  22  <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
  23  <!-- InstanceEndEditable -->
  24  <link href="../css/styles_plus_one.css" rel="stylesheet" type="text/css" />
  25  <link href="../css/styles_plus_two.css" rel="stylesheet" type="text/css" />
  26  <link href="../css/styles.css" rel="stylesheet" type="text/css" />
  27  <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
  28  <script src="../Scripts/utility.js" type="text/javascript"></script>
  29  
  30  <!-- InstanceBeginEditable name="head" -->
  31          
  32          <meta name="generator" content="Adobe GoLive 5" />
  33          
  34          <meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
  35      <!-- InstanceEndEditable -->
  36  </head>
  37  
  38  <body>
  39  <div id="wrapper">
  40   <div id="topBar"><a href="../site_search.html">Search</a><a href="../faqs.html">FAQs</a><a href="../sitemap.html">Site Map</a></div> 
  41    <div id="headerBar"><script type="text/javascript">
  42  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

  43  </script><noscript>
  44      <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">
  45        <param name="movie" value="../swf/header2.swf" />
  46        <param name="quality" value="high" />
  47        <embed src="../swf/header2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="770" height="120"></embed>
  48      </object></noscript>
  49    </div> 
  50    <div id="navBar">
  51        <a href="../index.html" class="menuItem">Home</a>
  52      <a href="../firm/our_firm.html" class="menuItem">Our Firm</a>
  53      <a href="../results/verdicts_settlements.html" class="menuItem">Verdicts &amp; Settlements</a>
  54      <a href="../practices/our_practices.html" class="menuItem">Our Practices</a>
  55      <a href="../attorneys/attorneys_staff.html" class="menuItem">Our Attorneys</a>
  56      <a href="resources.html" class="menuItem">Resources</a>
  57      <a href="../community/community_outreach.html" class="menuItem">Community Outreach</a>
  58      <a href="../contact/contact.html" class="menuItem">Contact Us</a>
  59      
  60      
  61    </div>
  62    
  63    
  64    <div id="mainBody">
  65        <table width="100%" border="0" cellspacing="0" cellpadding="0">
  66    <tr>
  67      <td id="leftNav">
  68          <a href="the_guide.php" class="subNav">THE GUIDE</a>
  69        <br/>
  70        <a href="add_category.php" class="subNav">Add a Category</a>
  71        <a href="delete_category.php" class="subNav">Delete a Category</a>
  72          <a href="update_category_chooser.php" class="subNav">Modify a Category</a>
  73        <br/>
  74          <a href="add_organization.php" class="subNav">Add an Organization</a>
  75        <a href="delete_organization.php" class="subNav">Delete an Organization</a>
  76          <a href="update_organization_chooser.php" class="subNav">Modify an Organization</a>
  77        
  78        </td>
  79      <td id="contentArea">
  80          
  81  
  82      
  83      
  84      <!-- InstanceBeginEditable name="contentRegion" -->
  85          <h1>Delete an Organization</h1>
  86          <p><?php echo $msg ?></p>
  87      <!-- InstanceEndEditable --></td>
  88    </tr>
  89  </table>
  90  </div>
  91  <div id="addressBar">1801 Century Park East - Suite 1920 - Los Angeles CA 90067 | TEL: (310) 553-1799 | Toll-Free: (800) 425-5557<br />
  92  2700 N. Central Avenue - Suite 1400 - Phoenix AZ 85004 | TEL:  (602) 285-4406 | Toll-Free: (800) 425-5557</div>
  93    <div id="footerBar">
  94      <table width="100%" border="0" cellspacing="0" cellpadding="0">
  95        <tr>
  96          <td style="padding-left:12px">&copy; Copyright 2006 Heimberg Law Group, LLP. &nbsp;All Rights Reserved. </td>
  97          <td align="right" style="padding-right:12px"><a href="../disclaimer.html">Disclaimer</a></td>
  98        </tr>
  99      </table>
 100    </div>
 101  </div>
 102  </body>
 103  <!-- InstanceEnd --></html>


Generated: Wed Mar 23 13:22:29 2011 Cross-referenced by PHPXref 0.7