Example #1
0
<?php

include 'classes/connection.class.php';
include 'classes/feature.class.php';
$feature_id = isset($_GET['feature_id']) ? (int) $_GET['feature_id'] : '';
$objfeature = new Feature();
$objfeature->setfeatureID($feature_id);
$views = $objfeature->viewfeature();
/*echo '<pre>';
print_r($views);
echo '</pre>';*/
foreach ($views as $value) {
    ?>
<form name="form1" method="post" action="process/process_update_feature.php">
  <table class="table" width="669" border="1">
    <tbody>
      <tr>
        <th colspan="2" scope="row">Please Edit feature</th>
      </tr>
      <tr>
        <th scope="row">Title</th>
        <td>
		<input  name="title" value="
		<?php 
    echo $value['feature_title'];
    ?>
"/>		
		
        
      </tr>
      <tr>
Example #2
0
<?php

require_once '../admin/classes/connection.class.php';
require_once '../admin/classes/feature.class.php';
?>

<div class="wrapper" style="margin-top:25px;">
  <div class="container">
  <?php 
$featureObj = new Feature();
$view = $featureObj->viewfeature();
// echo '<pre>';
//  print_r($view);
//  echo '<pre>';
?>
       
        <?php 
foreach ($view as $value) {
    ?>
    <div id="feature1" class="col-sm-4" style="background:#e7e2d6;
	padding:10px;" >
     <div class="req-block" style="background:#352924;
	padding:20px;
	padding-left:50px;
	border-radius:0.3em;
	margin-right:5px;
	font-size:12px;
	color:#f6c849;
    height:300px;">
        <h2 ><span class="glyphicon glyphicon-ok"></span>&nbsp;&nbsp;&nbsp;<?php 
    echo $value['feature_title'];
Example #3
0
<?php

require_once 'classes/connection.class.php';
require_once 'classes/feature.class.php';
$viewobj = new Feature();
$views = $viewobj->viewfeature();
/*echo '<pre>';
print_r($views);
echo '</pre>';*/
?>




<table class="table" width="698" border="1">
  <tbody>
    <tr>
      <th width="71" scope="row"><strong>featureID</strong></th>
      <td width="47"><strong>feature Title</strong></td>
      <td width="69"><strong>feature Desc</strong></td>
      
      
      <td colspan="2"><strong>Action</strong></td>
    </tr>
   
    <?php 
if (sizeof($views > 0)) {
    foreach ($views as $value) {
        ?>
    <tr>
      <th scope="row">&nbsp; <?php