This uses Twitter Bootstrap classes for CodeIgniter pagination.
Drop this file into application/config
.
<?php | |
Copied from http://fatlabmusic.com/blog/2009/08/12/how-to-fix-wp-http-error-name-lookup-timed-out/ | |
//adjustments to wp-includes/http.php timeout values to workaround slow server responses | |
add_filter('http_request_args', 'bal_http_request_args', 100, 1); | |
function bal_http_request_args($r) //called on line 237 | |
{ | |
$r['timeout'] = 15; | |
return $r; | |
} | |
Header unset Set-Cookie |
//Load CSS files | |
Assets::add_css( | |
array( 'bootstrap/bootstrap-3.3.7.min.css','font-awesome.css', | |
'styles.css','mystyles.css', | |
$data['scheme'] | |
) | |
); | |
//Put in header section | |
echo Assets::css(); |
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACw=" /> |
ucfirst(strtolower($row['name'])); |
if (is_numeric($param)) { | |
//TRUE | |
} | |
else { | |
//FALSE | |
} | |
if (!empty($param)) { | |
//not empty | |
} |
$this->db->insert_id() | |
//The insert ID number when performing database inserts. | |
$this->db->affected_rows() | |
//Displays the number of affected rows, when doing “write” type queries (insert, update, etc.). | |
$this->db->last_query() | |
//Returns the last query that was run (the query string, not the result). Example: | |
$this->db->count_all() |
$tmp = $this->inventory_model->select('id')->as_array()->order_by($id, 'asc')->find_all(); | |
$max = count($tmp); | |
echo $max; | |
//$tmp = $this->inventory_model->select('id')->as_array()->order_by($id, 'asc')->find_all(); | |
//$max = end($tmp); |
{"lastUpload":"2021-07-16T19:04:46.920Z","extensionVersion":"v3.4.3"} |
This uses Twitter Bootstrap classes for CodeIgniter pagination.
Drop this file into application/config
.