Esempio n. 1
0
            echo stripslashes($value['webpage_title']);
            ?>
</td>
				<td>	
					<?php 
            if ($value['login_require'] == 1) {
                echo "Required";
            } else {
                echo "Not Required";
            }
            ?>
	
				</td>
				<td>
					<a href="<?php 
            echo $Admin->EditLink($value['webpage_id']);
            ?>
" class="label label-info" style="margin-right:4px;" >
					<i class="fa fa-edit"></i> Edit </a>

					<?php 
            if ($value['active_status'] == 0) {
                ?>
					 	<a href="<?php 
                echo $Admin->StatusLink($value['webpage_id'], 1);
                ?>
"><span  class="label label-danger">Inactive</span></a>
					<?php 
            } else {
                ?>
						<a href="<?php 
        foreach ($Admin->data as $key => $value) {
            ?>
	
			<tr>
				<td><?php 
            echo stripslashes($value['description']);
            ?>
</td>
				<td><?php 
            echo stripslashes($value['subject']);
            ?>
</td>
				<td>

					<a href="<?php 
            echo $Admin->EditLink($value['template_id']);
            ?>
" class="label label-info" style="margin-right:4px;" >
					<i class="fa fa-edit"></i> Edit </a>

					<?php 
            if ($value['active_status'] == 0) {
                ?>
					 	<a href="<?php 
                echo $Admin->StatusLink($value['template_id'], 1);
                ?>
"><span  class="label label-danger">Inactive</span></a>
					<?php 
            } else {
                ?>
						<a href="<?php