Spud Raver
New member
Just a thought Davie, why dont you ask Gizmo if he can do a yellow skin for you, worth asking dont you think? :laugh::laugh::stir:
Worth a try??? OK......:flash::flash::flash:
Just a thought Davie, why dont you ask Gizmo if he can do a yellow skin for you, worth asking dont you think? :laugh::laugh::stir:
:flash::flash::flash:.....70% or so say YAY!!..... :flash::flash::flash:
Im sure you can get medication for that affliction you have Davie![]()
We need medication to save us from Davie! :lol2:
10 mg morphine IV all round stat!:idea:
That'll make for a fantastic party on Saturday!!!!:shocked:
That'll make for a fantastic party on Saturday!!!!:shocked:
well it kinda depends where you stick itBig canular? I thought those were called catheters![]()
well it kinda depends where you stick it![]()
Harsh words peeps......have you all voted by the way? :flash::flash::flash:
Dont be such a luddite all your life......![]()
Yellow skin now up and running........cheers Michael :flash:
You can all buy me a pint at the next meet :beer:
bloody nora, it'll be a tartan one next!
with you all the way........but whose tartan?
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'tab_album'); // change this to the filename
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();
// get special data templates from the datastore
$specialtemplates = array();
// pre-cache templates used by all actions
$globaltemplates = array();
// pre-cache templates used by specific actions
$actiontemplates = array();
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
// ++=========================================================================++
// The order you would like to pull the links in.
// Enter 1 for newest, 2 for most viewed, 3 for most comments, 4 for highest rated, 5 for random
$order = 1;
// Enter the number of links you would like to display here
$limit = 5;
// Maximum characters of the links name before the rest will be replaced with '...'
// Set this to 0 to disable it.
$maxnamechars = 0;
// No further editing necessary
switch($order)
{
case 2:
$orderby = 'views DESC';
break;
case 3:
$orderby = 'posts DESC';
break;
case 4:
$votequery = 'IF(votenum >= 0, votenum, 0) AS votenum, IF(votenum >= 0 AND votenum > 0, votetotal / votenum, 0) AS voteavg,';
$orderby = 'voteavg DESC, votenum DESC';
break;
case 5:
$orderby = 'rand() DESC';
break;
default:
$orderby = 'dateline DESC';
}
// Get private directories
if ($catinfo = unserialize($datastore['links_d_cache']))
{
$privcatids = array();
foreach ($catinfo as $cats)
{
if ($cats['private'])
{
$privcatids[] = $cats['catid'];
}
}
$privcats = 'AND links.catid NOT IN (' . implode(',', $privcatids) . ')';
}
$getlinks = $vbulletin->db->query("
SELECT $votequery links.*, links_categories.title FROM " . TABLE_PREFIX . "adv_links AS links
LEFT JOIN " . TABLE_PREFIX . "adv_links_categories AS links_categories ON (links.catid = links_categories.catid)
WHERE links.valid = 1 AND links.open = 1 $privcats
ORDER BY $orderby
LIMIT $limit
");
while ($link = $vbulletin->db->fetch_array($getlinks))
{
$link['catname'] = stripslashes($link['title']);
$link['name'] = fetch_trimmed_title(stripslashes($link['name']), $maxnamechars);
$link['username'] = stripslashes($link['username']);
$link['date'] = vbdate($vbulletin->options['dateformat'], $link['dateline']);
$link['time'] = vbdate($vbulletin->options['timeformat'], $link['dateline']);
$link['posts'] = number_format($link['posts']);
$link['replies'] = number_format($link['replies']);
$getbgrow = exec_switch_bg();
eval('$linkbits .= "' . fetch_template('adv_portal_linkbits') . '";');
}
$collapseobj_latestlinks = $vbcollapse['collapseobj_latestlinks'];
$collapseimg_latestlinks = $vbcollapse['collapseimg_latestlinks'];
eval('$home[$mods[\'modid\']][\'content\'] = "' . fetch_template('adv_portal_latestlinks') . '";');