[ Index ]

PHP Cross Reference of Drupal 6 (heimberg)

title

Body

[close]

/ -> delete_category2.php (source)

   1  <?php
   2  require_once ('DbLib-12.php');
   3  $db = &new DbLibMySQL;
   4  $db->OpenConnection();
   5  ?>
   6  
   7  
   8  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   9  <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/content_mgt.dwt" codeOutsideHTMLIsLocked="false" -->
  10  <head>
  11  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  12  <!-- InstanceBeginEditable name="doctitle" -->
  13  <title>Untitled Document</title>
  14  <!-- InstanceEndEditable -->
  15  <link href="../css/styles_plus_one.css" rel="stylesheet" type="text/css" />
  16  <link href="../css/styles_plus_two.css" rel="stylesheet" type="text/css" />
  17  <link href="../css/styles.css" rel="stylesheet" type="text/css" />
  18  <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
  19  <script src="../Scripts/utility.js" type="text/javascript"></script>
  20  
  21  <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
  22  </head>
  23  
  24  <body>
  25  <div id="wrapper">
  26   <div id="topBar"><a href="../site_search.html">Search</a><a href="../faqs.html">FAQs</a><a href="../sitemap.html">Site Map</a></div> 
  27    <div id="headerBar"><script type="text/javascript">
  28  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

  29  </script><noscript>
  30      <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">
  31        <param name="movie" value="../swf/header2.swf" />
  32        <param name="quality" value="high" />
  33        <embed src="../swf/header2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="770" height="120"></embed>
  34      </object></noscript>
  35    </div> 
  36    <div id="navBar">
  37        <a href="../index.html" class="menuItem">Home</a>
  38      <a href="../firm/our_firm.html" class="menuItem">Our Firm</a>
  39      <a href="../results/verdicts_settlements.html" class="menuItem">Verdicts &amp; Settlements</a>
  40      <a href="../practices/our_practices.html" class="menuItem">Our Practices</a>
  41      <a href="../attorneys/attorneys_staff.html" class="menuItem">Our Attorneys</a>
  42      <a href="resources.html" class="menuItem">Resources</a>
  43      <a href="../community/community_outreach.html" class="menuItem">Community Outreach</a>
  44      <a href="../contact/contact.html" class="menuItem">Contact Us</a>
  45      
  46      
  47    </div>
  48    
  49    
  50    <div id="mainBody">
  51        <table width="100%" border="0" cellspacing="0" cellpadding="0">
  52    <tr>
  53      <td id="leftNav">
  54        <!-- InstanceBeginEditable name="leftRegion" -->
  55        
  56        <a href="add_category.php" class="subNav">Add a Category</a>
  57              <a href="delete_category.php" class="subNav">Delete a Category</a>
  58        
  59        <!-- InstanceEndEditable -->    </td>
  60      <td id="contentArea">
  61          
  62  
  63      
  64      
  65      <!-- InstanceBeginEditable name="contentRegion" -->
  66      
  67      <p>Delete:</p>
  68          <table border="1" cellpadding="0" cellspacing="2" width="180">
  69              <form name="deleteCategoryForm" action="deleteCategory.php" method="post">
  70              <tr>
  71                  <td>Category:</td>
  72                      <td><select name="categoryList" size="4">
  73  <?php
  74  $db->Query('SELECT name, id FROM category order by parentCatId');
  75  
  76  // getting all columns from all rows

  77  while($db->GetNextRecord()) // get row
  78  {
  79  ?>
  80                        <option value="<?php echo $db->GetField('id');?>"><?php echo $db->GetField('name'); ?></option>
  81  <?php
  82  
  83  }
  84  ?>
  85                          </select></td>
  86                  </tr>
  87              <tr>
  88                  <td></td>
  89                      <td><input type="submit" name="categorySubmit" value="Delete Category"></td>
  90                  </tr>
  91  
  92              </form>
  93              <form name="deleteOrganizationForm" action="deleteOrganization.php" method="post">
  94              <tr>
  95                  <td>Organization:</td>
  96                      <td><select name="organizationList" size="4">
  97  <?php
  98  $db->Query('SELECT id, name FROM organization order by name');
  99  
 100  // getting all columns from all rows

 101  while($db->GetNextRecord()) // get row
 102  {
 103  ?>
 104                        <option value="<?php echo $db->GetField('id');?>"><?php echo $db->GetField('name'); ?></option>
 105  <?php
 106  
 107  }
 108  $db->CloseConnection();
 109  ?>
 110                  </select></td></tr>
 111  
 112              <tr>
 113                  <td></td>
 114                  <td><input type="submit" name="organizationSubmit" value="Delete Organization"></td>
 115                  <td></td>
 116              </tr>
 117  
 118              </form>
 119          </table>
 120      
 121      
 122      <!-- InstanceEndEditable --></td>
 123    </tr>
 124  </table>
 125  </div>
 126  <div id="addressBar">1801 Century Park East - Suite 1920 - Los Angeles CA 90067 | TEL: (310) 553-1799 | Toll-Free: (800) 425-5557<br />
 127  2700 N. Central Avenue - Suite 1400 - Phoenix AZ 85004 | TEL:  (602) 285-4406 | Toll-Free: (800) 425-5557</div>
 128    <div id="footerBar">
 129      <table width="100%" border="0" cellspacing="0" cellpadding="0">
 130        <tr>
 131          <td style="padding-left:12px">&copy; Copyright 2006 Heimberg Law Group, LLP. &nbsp;All Rights Reserved. </td>
 132          <td align="right" style="padding-right:12px"><a href="../disclaimer.html">Disclaimer</a></td>
 133        </tr>
 134      </table>
 135    </div>
 136  </div>
 137  </body>
 138  <!-- InstanceEnd --></html>


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