<?php
include('../../includes/checkSession.php');
include('../../includes/con2pma3.php');
include('../../includes/topmenunewest.php');
/*include('../includes/header_in.php');*/
/*include('../includes/topmenuin.php');*/
/*error_reporting(0);*/
$company_id = $_SESSION['id'];
$companyID = $company_id;
include('03-01Scope-01Standards01-IV01DB.php');
?>

<html>
<head>
    <meta charset="utf-8">
    <title>pmAnywhere - Suggestions</title>
    <script src="../includes/js/jquery.min.js" type="text/javascript"></script>
<link href="03-00Scope-Styles0.css" rel="stylesheet" type="text/css" />
</head>

<body style="backgrond-color:#E8E8E8">

<div><br></div>

    <?php
	/// select records for company id 261
	$result = 
mysql_query("SELECT * FROM scope_std
WHERE scope_std.stdCompany = '261'
AND scope_std.stdStatus=1
ORDER BY stdPrefix ASC, stdCode ASC");
	?>

<form align="center" id="form1" method="post" action="03-01Scope-01Standards01-IV01.php" >
  <input id="import" name="import" value="1" type="hidden" />
  <fieldset>
  <legend align="center">
  <button class="button1" >&nbsp;IMPORT THE FOLLOWING <?php echo mysql_num_rows($result);?> EXAMPLES&nbsp;</button></legend>
<table name="importsuggestions" align="center" class="table4" width="80%" border="0" cellpadding="0">
    <tr>
      <td width="10%" align="left" valign="top"><strong>Standard Prefix</strong></td>
      <td width="20%" align="left" valign="top"><strong>Code</strong></td>
      <td width="70%" align="left" valign="top"><strong> Title</strong></td>
    </tr>
    <tr>
      <td align="left" valign="top">&nbsp;</td>
      <td align="left" valign="top">&nbsp;</td>
      <td align="right" valign="top">
      	          <button type="button" onClick="window.location='03-01Scope-01Standards01.php';" style="vertical-align: bottom" class="button11" title="Cancel">&#xab;</button>
        &nbsp;
        <a href="">
          <button type="submit" onClick="return confirm('Note: These EXAMPLES will be added to your active lists and will not be added if you have something similar already active or archived. All examples are for learning purposes only and may be modified, customised and used if found applicable by users. pmAnywhere is not responsible for any omissions/ errors/ damages/ mistakes or subsequent implications arising from the use of these examples. Click OK to proceed.');" style="vertical-align: bottom" id="btnImport" class="button11" title="Import">&#xbb;</button>
        </a>
      	
      </td>
    </tr>
    <?php
	while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
	?>
		<tr>
          <td align="left" valign="top"><?php echo $row['stdPrefix'];?></td>
          <td align="left" valign="top"><?php echo $row['stdCode'];?></td>
          <td align="left" valign="top"><?php echo $row['stdName'];?></td>
        </tr>
	<?php
	}
	?>
    <tr>
      <td align="left" valign="top">&nbsp;</td>
      <td align="right" valign="top">&nbsp;</td>
      <td align="right" valign="top">
          <button type="button" onClick="window.location='03-01Scope-01Standards01.php';" style="vertical-align: bottom" class="button11" title="Cancel">&#xab;</button>
        &nbsp;
        <a href="">
          <button type="submit" onClick="return confirm('Note: These EXAMPLES will be added to your active lists and will not be added if you have something similar already active or archived. All examples are for learning purposes only and may be modified, customised and used if found applicable by users. pmAnywhere is not responsible for any omissions/ errors/ damages/ mistakes or subsequent implications arising from the use of these examples. Click OK to proceed.');" style="vertical-align: bottom" id="btnImport" class="button11" title="Import">&#xbb;</button>
        </a>
        </td>
    </tr>
    <tr>
      <td align="left" valign="top">&nbsp;</td>
      <td align="right" valign="top">&nbsp;</td>
      <td align="right" valign="top"><strong>IMPORTANT</strong> <strong>NOTE</strong>: These EXAMPLES  will be added to existing lists. <br>
        All examples are for learning purposes only and may be modified, customised and used if found applicable by users.<br>
        pmAnywhere is not responsible for any omissions/ errors/ damages/ mistakes or subsequent implications arising from the use of these examples.</td>
    </tr>
    </table>
    </fieldset></form>
	<br></div></div>
</body>
</html>

<?php include('../includes/footer.php'); ?>