Пример #1
0
    } else {
        if ($view == "archive" && ($_SESSION['role'] == 2 || $_SESSION['role'] == 3 || $_SESSION['role'] == 5)) {
            ?>
														<a href="javascript:editFine(<?php 
            echo $e['lid'] . "," . $e['fine'];
            ?>
)" title='Edit fine' ><img src='../etc/edit.png' /></a>
										<?php 
        }
    }
    ?>
										</td>
								</tr>
								<?php 
}
?>
								<tr id="pagingBarBottom">
										<td colspan="8">
												<?php 
//Paging controls
doPages($displayableRows, 'index.php', '', $total_records);
?>
										</td>
								</tr>
						</tbody>
				</table>
		</div>
</div>
<div class="clear"><!-- --></div>
<?php 
require_once "../includes/footerNew.php";
Пример #2
0
																						<a href="javascript:deleteAccount('<?php 
            echo $user['userid'];
            ?>
')" class="delete" title="Delete"><img src='../etc/delete.png' /></a>
																						<a href="<?php 
            echo "http://art.usc.edu/loaner/loans/issueLoan.php?userid=" . $user['userid'];
            ?>
" class="issue" title="Issue Loan"><img src='../etc/add.png' /></a>
																		<?php 
        }
        ?>
																</td>
														</tr>
								<?php 
    }
}
?>
								<tr id="pagingBarBottom">
										<td colspan="5"><?php 
doPages($displayableRows, $current_page, '', $total_records);
?>
</td>
								</tr>
						</tbody>
				</table>
		</div>
</div>
	
<div class="clear"></div>
<?php 
require_once "../includes/footerNew.php";
Пример #3
0
    ?>
</td>
        <td valign="top"><?php 
    echo $lev;
    ?>
</td>
        <td valign="top" align="center"><?php 
    echo $d1["izin"];
    ?>
</td>
        <td valign="top" align="center"><a class="edit" href="./index.php?mod=home&opt=member&opts=edit&id_user=<?php 
    echo $d1["id_user"];
    ?>
"><button>EDIT</button></a></td>
        <td valign="top" align="center"><a class="hapus" href="./index.php?mod=home&opt=member&opts=validasi&mode=3&id_user=<?php 
    echo $d1["id_user"];
    ?>
" onClick="return confirm('Apakah Anda yakin ingin menghapus data ini?' + '\nNama: ' + '<?php 
    echo $d1["nama"];
    ?>
' + '\n\n' + 'Jika YA silahkan klik OK, Jika TIDAK klik CANCEL.')"><button>HAPUS</button></a></td>
    </tr>
<?php 
    $i++;
}
?>
</table>
<?php 
if ($jumlah > $batas) {
    doPages($batas, 'index.php', 'mod=home&opt=member&opts=list', $jumlah);
}