This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$id = $_POST['id']; | |
$type = $_POST['ttt']; | |
if(isset($type) && isset($id)) | |
{ | |
switch($type) | |
{ | |
case 'item': | |
getItem($id); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var perPage = 20, | |
data = [[ PUT DATA INTO TEMPLATE HERE ]] | |
lastPage = Math.ceil(data.length/perPage); | |
function minifyPagination() { | |
var current = parseInt($('li.uk-active').attr('page')), | |
min = Math.max(current-3, 1), | |
max = current+3; | |
$('#page_first, #page_last').remove(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
tmux split-window -h -p 35 "tail -f ~/MUD/$1/chat.log" | |
tmux split-window -v -p 40 "pico ~/MUD/$1/notes.txt" | |
tmux select-pane -t 0 | |
tt++ ~/MUD/$1/config.tin | |
tmux kill-pane -a |
NewerOlder