Ejemplo n.º 1
0
	  <?php 
        if ($row["plan_description"] == '') {
            echo 'N/A';
        } else {
            echo stripslashes($row["plan_description"]);
        }
        ?>
      </td>
      <td><?php 
        echo getPlanCategory(stripslashes($row["productCategoryId"]));
        ?>
</td>
      <td>
	  <?php 
        if ($row["serviceprovider_id"] != 0) {
            echo getserviceprovider(stripslashes($row["serviceprovider_id"]));
        } else {
            echo 'N/A';
        }
        ?>
      </td>
      <td><?php 
        echo stripslashes($row["plan_rate"]);
        ?>
</td>
	  <td><a href="#" onClick="if(confirm('Do you really want to delete this record?')){ window.location.href='manage_plan.php?id=<?php 
        echo $row["id"];
        ?>
&type=del&token=<?php 
        echo $token;
        ?>
Ejemplo n.º 2
0
                if ($kolor % 2 == 0) {
                    $class = "bgcolor='#ffffff'";
                } else {
                    $class = "bgcolor='#fff'";
                }
                ?>
        <tr <?php 
                print $class;
                ?>
>
      	<td><?php 
                print $kolor++;
                ?>
.</td>
	  	<td><?php 
                echo getserviceprovider(stripslashes($row["company_id"]));
                ?>
</td>
      	<td><?php 
                echo stripslashes($row["sim_no"]);
                ?>
</td>
      	<td><?php 
                echo stripslashes($row["mobile_no"]);
                ?>
</td>
         <td><?php 
                if ($row["status_id"] == "0") {
                    echo "<p style='color:green; font-weight:bold;'>InStock</p>";
                } else {
                    if ($row["status_id"] == "2") {