mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 02:12:17 +00:00
Recover fhcdb_helper
This commit is contained in:
@@ -1,11 +1,46 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH'))
|
||||
exit('No direct script access allowed');
|
||||
isset($title) ? $title = 'VileSci - '.$title : $title = 'VileSci';
|
||||
!isset($jquery) ? $jquery = false : $jquery = $jquery;
|
||||
!isset($tablesort) ? $tablesort = false : $tablesort = $tablesort;
|
||||
!isset($sortList) ? $sortList = '0,0' : $sortList = $sortList;
|
||||
!isset($widgets) ? $widgets = 'zebra' : $widgets = $widgets;
|
||||
!isset($headers) ? $headers = '' : $headers = $headers;
|
||||
|
||||
if ($tablesort)
|
||||
$jquery = true;
|
||||
?>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>VileSci</title>
|
||||
<title><?php echo $title; ?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<link rel="stylesheet" href="../skin/vilesci.css" type="text/css" />
|
||||
<link rel="shortcut icon" href="../skin/images/Vilesci.ico" type="image/x-icon">
|
||||
<link rel="shortcut icon" href="<?php echo base_url('skin/images/Vilesci.ico'); ?>" type="image/x-icon">
|
||||
<link rel="stylesheet" href="<?php echo base_url('skin/vilesci.css'); ?>" type="text/css" />
|
||||
|
||||
<?php if($tablesort) : ?>
|
||||
<link href="<?php echo base_url('skin/tablesort.css'); ?>" rel="stylesheet" type="text/css"/>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if($jquery) : ?>
|
||||
<script src="<?php echo base_url('include/js/jquery1.9.min.js'); ?>" type="text/javascript"></script>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if($tablesort && !empty($tableid)) : ?>
|
||||
<script language="Javascript" type="text/javascript">
|
||||
$(document).ready(function()
|
||||
{
|
||||
$("#<?php echo $tableid; ?>").tablesorter(
|
||||
{
|
||||
sortList: [[<?php echo $sortList; ?>]],
|
||||
widgets: ["<?php echo $widgets; ?>"],
|
||||
headers: {<?php echo $headers; ?>}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<?php endif ?>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user