=Show Browser and Platform on Index
@@ -194,7 +194,7 @@ RewriteRule ^/(forum|[a-z0-9_-]*-f)([0-9]+)(-([0-9]+))?\.html$ viewforum.php?f=$
|
||||
#AddHandler x-httpd-5-3-php5 .php
|
||||
#AddHandler x-httpd-5-4-php5 .php
|
||||
#AddHandler x-httpd-5-5-php5 .php
|
||||
AddHandler x-httpd-5-6-php5 .php
|
||||
#AddHandler x-httpd-5-6-php5 .php
|
||||
|
||||
#
|
||||
# Error redirects - require the MX-Publisher ErrorDocs module to be installed
|
||||
|
||||
BIN
cache/batik-rasterizer.jar
vendored
@@ -150,6 +150,51 @@ class ConfigData implements Iterator
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $file we do not use explode() in PHP7+
|
||||
* The filename to read the data from
|
||||
*/
|
||||
public function dos_description($full_name, $file = './descript.ion')
|
||||
{
|
||||
if ($file === false)
|
||||
{
|
||||
return;
|
||||
}
|
||||
$this -> valid = true;
|
||||
//trim path
|
||||
$file_dir = trim(dirname($file));
|
||||
//trim file name
|
||||
$file_name = trim(basename($full_name));
|
||||
if (strpos($full_name, '.') !== false)
|
||||
{
|
||||
// Nested file
|
||||
$filename_ext = substr(strrchr($full_name, '.'), 1);
|
||||
}
|
||||
//rebuild path
|
||||
$file_path = $file_dir . "/{$file_name}";
|
||||
|
||||
$contents = file($file);
|
||||
if ($contents === false)
|
||||
{
|
||||
throw new ExceptionFatal('Error reading file <em>' . Url::html_output($file) . '</em>');
|
||||
}
|
||||
foreach ($contents as $i => $line)
|
||||
{
|
||||
$line = rtrim($line, "\r\n");
|
||||
if (self::line_is_comment($line))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
$parts = explode($file_name, $line);
|
||||
if (count($parts) > 0)
|
||||
{
|
||||
//throw new ExceptionFatal('Incorrect format for file <em>explode on ' . $full_name . ' line: ' . print_r($line, true) . ' ' . Url::html_output($file) . '</em> on line ' . ($i + 1) . '.<br />Format is "file name[space]value"');
|
||||
return empty($parts[1]) ? $parts[0] : $parts[1];
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* $config[$key] will be set to $info.
|
||||
*
|
||||
|
||||
@@ -158,11 +158,24 @@ class DirItem extends Item
|
||||
if (($mb_strlen > 1) && ($mb_strlen < 6))
|
||||
{
|
||||
$decoded_lang_name = self::decode_country_name($filename, 'language');
|
||||
|
||||
//Language Folders and Dirs with ICON files
|
||||
if (!empty($decoded_lang_name))
|
||||
{
|
||||
$this -> icon = FLAG_PATH ? $config -> __get('flag_path') . $filename . '.png' : $config -> __get('icon_path') . $filename . '.png';
|
||||
}
|
||||
|
||||
//Special common folders
|
||||
switch ($filename)
|
||||
{
|
||||
case 'docs':
|
||||
$this -> icon = @file_exists($config -> __get('icon_path') . 'docs.png') ? $config -> __get('icon_path') . 'docs.png' : $this -> icon;
|
||||
break;
|
||||
|
||||
case 'apps':
|
||||
$this -> icon = $config -> __get('icon_path') . 'dir.png';
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (($mb_strlen > 1) && ($mb_strlen < 25))
|
||||
|
||||
@@ -80,6 +80,22 @@ class FileItem extends Item
|
||||
$this -> downloads = (DOWNLOAD_COUNT && $downloads -> is_set($parent_dir . $filename) ? (int)($downloads -> __get($parent_dir . $filename)) : 0);
|
||||
$this -> link = Url::html_output($_SERVER['PHP_SELF']) . '?dir=' . Url::translate_uri(substr($this -> parent_dir, strlen($config -> __get('base_dir')))) . '&file=' . Url::translate_uri($filename);
|
||||
|
||||
if (in_array(self::ext($filename), array('exe', 'ttf', 'cmd')))
|
||||
{
|
||||
$mime = new MimeType($filename);
|
||||
$finfo = finfo_open(FILEINFO_MIME_TYPE);
|
||||
//Display correct headers for media file
|
||||
$mimetype = finfo_file($finfo, $this -> parent_dir . $filename);
|
||||
$file_size = $this -> size;
|
||||
$file_mime = $mime -> __toString();
|
||||
|
||||
$this -> thumb_link .= ' <a href="' . Url::html_output($_SERVER['PHP_SELF'])
|
||||
. '?thm='. Url::translate_uri($this -> parent_dir . $filename) . '"'
|
||||
. ' alt="' . $words -> __get('thumbnail of') . ' ' . $filename . '"'
|
||||
. ' >' . $words -> __get('view') . ' ' . $words -> __get('file') . '</a>';
|
||||
}
|
||||
|
||||
|
||||
if (THUMBNAIL_HEIGHT && in_array(self::ext($filename), array('png', 'jpg', 'jpeg', 'jfif', 'gif', 'bmp')))
|
||||
{
|
||||
$this -> thumb_link = ' <img src="' . Url::html_output($_SERVER['PHP_SELF'])
|
||||
@@ -102,7 +118,7 @@ class FileItem extends Item
|
||||
. ' alt="' . $words -> __get('thumbnail of') . ' ' . $filename . '"'
|
||||
. ' >' . $words -> __get('view') . ' ' . $words -> __get('file') . '</a>';
|
||||
}
|
||||
|
||||
|
||||
if (THUMBNAIL_HEIGHT && in_array(self::ext($filename), array('avi', 'mkv', 'asf', 'mov', 'wmv', '3gp')))
|
||||
{
|
||||
$mime = new MimeType($filename);
|
||||
@@ -140,20 +156,14 @@ class FileItem extends Item
|
||||
{
|
||||
$icon_svg = ICON_PATH ? Url::translate_uri($config -> __get('icon_path') . 'svg.png') : Url::translate_uri($this -> parent_dir . $filename);
|
||||
$heightwidth = in_array(self::ext($filename), array('svg', 'xml')) ? ' height="' . '150' . '" width="' . '150' . '" ' : ' ';
|
||||
$this -> thumb_link = ' <img src="' . Url::html_output($_SERVER['PHP_SELF'])
|
||||
. '?thumbnail='. Url::translate_uri($icon_svg) . '"'
|
||||
. ' alt="' . $words -> __get('thumbnail of') . ' ' . $filename . '"'
|
||||
. ' />';
|
||||
//. ' <img src="' . Url::html_output($_SERVER['PHP_SELF'])
|
||||
//. '?thumbnail='. Url::translate_uri($this -> parent_dir . $filename) . '" srcset="' . Url::html_output($_SERVER['PHP_SELF'])
|
||||
//. '?thumbnail='. Url::translate_uri($this -> parent_dir . $filename) . '"'
|
||||
//. ' alt="' . $words -> __get('thumbnail of') . ' ' . $filename . '"'
|
||||
$this -> thumb_link = ' <div style="background-repeat: no-repeat; display: inline-block; width: 149px;height: 149px; background-image: url(' . Url::html_output($_SERVER['PHP_SELF']) . '?thm='. Url::translate_uri($this -> parent_dir . $filename) . '), none; background-size: 150px 150px;">[' . $words -> __get('thumbnail of') . ' ' . $filename . ']</div>';
|
||||
//<object type="image/svg+xml" data="'.Url::html_output($_SERVER['PHP_SELF']) . '?thm='. Url::translate_uri($this -> parent_dir . $filename) .'" class="logo">SVG Logo <!-- fallback in CSS --></object>
|
||||
//. $heightwidth . ' />';
|
||||
}
|
||||
|
||||
$size = $this -> size -> __get('bytes');
|
||||
if (MD5_SHOW && $size > 0 && $size / 1048576 <= $config -> __get('md5_show'))
|
||||
{
|
||||
{
|
||||
$this -> md5_link = '<span class="autoindex_small">[<a class="autoindex_a" href="'
|
||||
. Url::html_output($_SERVER['PHP_SELF']) . '?dir='
|
||||
. Url::translate_uri(substr($this -> parent_dir, strlen($config -> __get('base_dir'))))
|
||||
|
||||
163
classes/FileItem6.php
Normal file
@@ -0,0 +1,163 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package AutoIndex
|
||||
*
|
||||
* @copyright Copyright (C) 2002-2004 Justin Hagstrom
|
||||
* @license http://www.gnu.org/licenses/gpl.html GNU General Public License (GPL)
|
||||
*
|
||||
* @link http://autoindex.sourceforge.net
|
||||
*/
|
||||
|
||||
/*
|
||||
AutoIndex PHP Script is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
AutoIndex PHP Script is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
if (!defined('IN_AUTOINDEX') || !IN_AUTOINDEX)
|
||||
{
|
||||
die();
|
||||
}
|
||||
|
||||
/**
|
||||
* Subclass of item that specifically represents a file.
|
||||
*
|
||||
* @author Justin Hagstrom <JustinHagstrom@yahoo.com>
|
||||
* @version 1.0.1 (July 10, 2004)
|
||||
* @package AutoIndex
|
||||
*/
|
||||
class FileItem extends Item
|
||||
{
|
||||
/**
|
||||
* @param string $fn The filename
|
||||
* @return string Everything after the list dot in the filename, not including the dot
|
||||
*/
|
||||
public static function ext($fn)
|
||||
{
|
||||
$fn = Item::get_basename($fn);
|
||||
return (strpos($fn, '.') ? strtolower(substr(strrchr($fn, '.'), 1)) : '');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string Returns the extension of the filename
|
||||
* @see FileItem::ext()
|
||||
*/
|
||||
public function file_ext()
|
||||
{
|
||||
return self::ext($this -> filename);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $parent_dir
|
||||
* @param string $filename
|
||||
*/
|
||||
public function __construct($parent_dir, $filename)
|
||||
{
|
||||
parent::__construct($parent_dir, $filename);
|
||||
if (!is_file($this -> parent_dir . $filename))
|
||||
{
|
||||
throw new ExceptionDisplay('File <em>' . Url::html_output($this -> parent_dir . $filename) . '</em> does not exist.');
|
||||
}
|
||||
global $config, $words, $downloads;
|
||||
$this -> filename = $filename;
|
||||
$this -> size = new Size(filesize($this -> parent_dir . $filename));
|
||||
if (ICON_PATH)
|
||||
{
|
||||
$file_icon = new Icon($filename);
|
||||
$this -> icon = $file_icon -> __toString();
|
||||
}
|
||||
$this -> downloads = (DOWNLOAD_COUNT && $downloads -> is_set($parent_dir . $filename) ? (int)($downloads -> __get($parent_dir . $filename)) : 0);
|
||||
$this -> link = Url::html_output($_SERVER['PHP_SELF']) . '?dir=' . Url::translate_uri(substr($this -> parent_dir, strlen($config -> __get('base_dir')))) . '&file=' . Url::translate_uri($filename);
|
||||
|
||||
if (THUMBNAIL_HEIGHT && in_array(self::ext($filename), array('png', 'jpg', 'jpeg', 'jfif', 'gif', 'bmp')))
|
||||
{
|
||||
$this -> thumb_link = ' <img src="' . Url::html_output($_SERVER['PHP_SELF'])
|
||||
. '?thumbnail='. Url::translate_uri($this -> parent_dir . $filename) . '"'
|
||||
. ' alt="' . $words -> __get('thumbnail of') . ' ' . $filename . '"'
|
||||
. ' />';
|
||||
$this -> thumb_link .= ' <a href="' . Url::html_output($_SERVER['PHP_SELF'])
|
||||
. '?thm='. Url::translate_uri($this -> parent_dir . $filename) . '"'
|
||||
. ' alt="' . $words -> __get('thumbnail of') . ' ' . $filename . '"'
|
||||
. ' >' . $words -> __get('view') . ' ' . $words -> __get('file') . '</a>';
|
||||
}
|
||||
if (THUMBNAIL_HEIGHT && in_array(self::ext($filename), array('avi', 'thm', 'mkv', 'asf', 'mov', 'wmv', '3gp')))
|
||||
{
|
||||
$mime = new MimeType($filename);
|
||||
$finfo = finfo_open(FILEINFO_MIME_TYPE);
|
||||
//Display correct headers for media file
|
||||
$mimetype = finfo_file($finfo, $this -> parent_dir . $filename);
|
||||
$file_size = function_exists('getvideosize') ? getvideosize($this -> parent_dir . $filename) : array();
|
||||
$file_mime = function_exists('getvideosize') ? $file_size['mime'] : $mime -> __toString();
|
||||
$this -> thumb_link = ' <video controls="play" src="' . Url::translate_uri($this -> parent_dir . $filename) . '"'
|
||||
. ' poster="' . Url::html_output($_SERVER['PHP_SELF']) . '"'
|
||||
. ' type="' . $file_mime . '"'
|
||||
. ' />Your browser does not support the <code>video</code> element.</video> ';
|
||||
|
||||
if (function_exists('imagecreatefromavi') && in_array(self::ext($filename), array('avi', 'wmv', '3gp')))
|
||||
{
|
||||
$this -> thumb_link .= '</br><img src="' . Url::html_output($_SERVER['PHP_SELF'])
|
||||
. '?thumbnail='. Url::translate_uri($this -> parent_dir . $filename) . '"'
|
||||
. ' alt="' . $words -> __get('thumbnail of') . ' ' . $filename . '"'
|
||||
. ' />';
|
||||
}
|
||||
else
|
||||
{
|
||||
$this -> thumb_link = ' <video controls="play" src="' . Url::html_output($_SERVER['PHP_SELF'])
|
||||
. '?thm='. Url::translate_uri($this -> parent_dir . $filename) . '"'
|
||||
. ' poster="' . Url::html_output($_SERVER['PHP_SELF']) . '"'
|
||||
. ' type="' . $file_mime . ', ' . $mimetype . ', application/octet-stream"'
|
||||
. ' />Your browser does not support the <code>video</code> element.</video> ';
|
||||
}
|
||||
}
|
||||
if (THUMBNAIL_HEIGHT && in_array(self::ext($filename), array('svg', 'xml')))
|
||||
{
|
||||
$icon_svg = ICON_PATH ? Url::translate_uri($config -> __get('icon_path') . 'svg.png') : Url::translate_uri($this -> parent_dir . $filename);
|
||||
$heightwidth = in_array(self::ext($filename), array('svg', 'xml')) ? ' height="' . '150' . '" width="' . '150' . '" ' : ' ';
|
||||
$this -> thumb_link = ' <img src="' . Url::html_output($_SERVER['PHP_SELF'])
|
||||
. '?thumbnail='. Url::translate_uri($icon_svg) . '"'
|
||||
. ' alt="' . $words -> __get('thumbnail of') . ' ' . $filename . '"'
|
||||
. ' />';
|
||||
//. ' <img src="' . Url::html_output($_SERVER['PHP_SELF'])
|
||||
//. '?thumbnail='. Url::translate_uri($this -> parent_dir . $filename) . '" srcset="' . Url::html_output($_SERVER['PHP_SELF'])
|
||||
//. '?thumbnail='. Url::translate_uri($this -> parent_dir . $filename) . '"'
|
||||
//. ' alt="' . $words -> __get('thumbnail of') . ' ' . $filename . '"'
|
||||
//. $heightwidth . ' />';
|
||||
}
|
||||
|
||||
$size = $this -> size -> __get('bytes');
|
||||
if (MD5_SHOW && $size > 0 && $size / 1048576 <= $config -> __get('md5_show'))
|
||||
{
|
||||
$this -> md5_link = '<span class="autoindex_small">[<a class="autoindex_a" href="'
|
||||
. Url::html_output($_SERVER['PHP_SELF']) . '?dir='
|
||||
. Url::translate_uri(substr($this -> parent_dir, strlen($config -> __get('base_dir'))))
|
||||
. '&md5=' . Url::translate_uri($filename) . '">'
|
||||
. $words -> __get('calculate md5sum') . '</a>]</span>';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $var The key to look for
|
||||
* @return mixed The data stored at the key
|
||||
*/
|
||||
public function __get($var = '')
|
||||
{
|
||||
if (isset($this -> $var))
|
||||
{
|
||||
return $this -> $var;
|
||||
}
|
||||
throw new ExceptionDisplay('Variable <em>' . Url::html_output($var) . '</em> not set in FileItem class.');
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -179,6 +179,7 @@ abstract class Item
|
||||
{
|
||||
$parent_dir = self::make_sure_slash($parent_dir);
|
||||
$full_name = $parent_dir . $filename;
|
||||
$descript_ion_file = $parent_dir . 'descript.ion';
|
||||
$this -> is_parent_dir = false;
|
||||
$this -> m_time = filemtime($full_name);
|
||||
$this -> a_time = fileatime($full_name);
|
||||
@@ -186,15 +187,22 @@ abstract class Item
|
||||
$this -> last_write_time = date('h:i:s', filemtime($full_name));
|
||||
$this -> icon = $this -> new_icon = $this -> md5_link = $this -> thumb_link = '';
|
||||
|
||||
global $descriptions, $words;
|
||||
global $config, $descriptions, $words;
|
||||
|
||||
$description = ((DESCRIPTION_FILE && $descriptions -> is_set($full_name)) ? $descriptions -> __get($full_name) : strtoupper(substr($filename, 0, strrpos($filename, '.'))));
|
||||
$description = (($descriptions -> is_set($full_name)) ? $descriptions -> __get($full_name) : strtoupper(substr($filename, 0, strrpos($filename, '.'))));
|
||||
|
||||
$extend_description = (($words -> is_set('CHAP') && $words -> is_set(strtoupper(substr($description, 0, strrpos($description, '_'))))) ? $words -> __get(strtoupper(substr($description, 0, strrpos($description, '_')))) . ' ' . $words -> __get('CHAP') . ' ' . substr(strrchr($description, '_'), 1) : $description);
|
||||
|
||||
$extend_description = ($words -> is_set($extend_description) ? $words -> __get($extend_description) : $extend_description);
|
||||
|
||||
$this -> description = ($words -> is_set($description) ? $words -> __get($description) : $extend_description);
|
||||
if (is_file($descript_ion_file))
|
||||
{
|
||||
$descript_ion = $config -> dos_description($filename, $descript_ion_file);
|
||||
|
||||
$descript_ion = !empty($descript_ion) ? $descript_ion . ' ' . $descript_ion : '';
|
||||
}
|
||||
|
||||
$this -> description = ($words -> is_set($description) ? $words -> __get($description) . $descript_ion : $extend_description . $descript_ion);
|
||||
|
||||
$this -> parent_dir = $parent_dir;
|
||||
|
||||
|
||||
@@ -117,6 +117,7 @@ class MimeType
|
||||
'application/xml' => array('xml', 'xsl'),
|
||||
'application/xml-dtd' => array('dtd'),
|
||||
'application/zip' => array('zip'),
|
||||
'application/7-Zip' => array('7z'),
|
||||
'audio/basic' => array('au', 'snd'),
|
||||
'audio/midi' => array('mid', 'midi', 'kar'),
|
||||
'audio/mpeg' => array('mpga', 'mp2', 'mp3'),
|
||||
|
||||
@@ -37,21 +37,34 @@ class MobileDeviceDetect
|
||||
protected $words;
|
||||
protected $request;
|
||||
|
||||
private $_user_agent;
|
||||
private $_name;
|
||||
private $_version;
|
||||
private $_platform;
|
||||
|
||||
/**
|
||||
* Load sessions
|
||||
* @access public
|
||||
*
|
||||
*/
|
||||
function __construct()
|
||||
function __construct($ua = '')
|
||||
{
|
||||
global $cache;
|
||||
global $request, $words;
|
||||
|
||||
$this->cache = $cache;
|
||||
$this->request = $request;
|
||||
$this->language = $words;
|
||||
|
||||
$this->cache = $cache;
|
||||
$this->request = $request;
|
||||
$this->language = $words;
|
||||
|
||||
if(empty($ua))
|
||||
{
|
||||
$this->_user_agent = $request->server('HTTP_USER_AGENT');
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->_user_agent = $ua;
|
||||
}
|
||||
//$this->_user_agent = (!empty($_SERVER['HTTP_USER_AGENT'])) ? htmlspecialchars((string) $_SERVER['HTTP_USER_AGENT']) : '';
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -65,15 +78,14 @@ class MobileDeviceDetect
|
||||
public function mobile_device_detect($iphone = true, $ipod = true, $ipad = true, $android = true, $opera = true, $blackberry = true, $palm = true, $windows = true, $lg = true)
|
||||
{
|
||||
$mobile_browser = false;
|
||||
$user_agent = $this->request->server('HTTP_USER_AGENT');
|
||||
|
||||
switch (true)
|
||||
{
|
||||
case (preg_match('/x86_64|WOW64|Win64|Iceweasel/i', $user_agent));
|
||||
case (preg_match('/x86_64|WOW64|Win64|Iceweasel/i', $this->_user_agent));
|
||||
$status = $this->language -> __get('DESKTOP');
|
||||
$mobile_browser = true;
|
||||
break;
|
||||
case (preg_match('/Bot|CFNetwork|libwww|Java|Jigsaw|SpreadTrum|httpget/i', $user_agent));
|
||||
case (preg_match('/Bot|CFNetwork|libwww|Java|Jigsaw|SpreadTrum|httpget/i', $this->_user_agent));
|
||||
$mobile_browser = false;
|
||||
break;
|
||||
case (preg_match('/ipad/i',$user_agent));
|
||||
@@ -84,92 +96,92 @@ class MobileDeviceDetect
|
||||
$status = $this->language -> __get('IPOD');
|
||||
$mobile_browser = $ipod;
|
||||
break;
|
||||
case (preg_match('/iphone/i', $user_agent));
|
||||
case (preg_match('/iphone/i', $this->_user_agent));
|
||||
$status = $this->language -> __get('IPHONE');
|
||||
$mobile_browser = $iphone;
|
||||
break;
|
||||
case (preg_match('/android/i', $user_agent));
|
||||
if (preg_match('/SM-G870A/i', $user_agent))
|
||||
case (preg_match('/android/i', $this->_user_agent));
|
||||
if (preg_match('/SM-G870A/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGS5A');
|
||||
}
|
||||
else if (preg_match('/SM-G900A|SM-G900F|SM-G900H|SM-G900M|SM-G900P|SM-G900R4|SM-G900T|SM-G900V|SM-G900W8|SM-G800F/i', $user_agent))
|
||||
else if (preg_match('/SM-G900A|SM-G900F|SM-G900H|SM-G900M|SM-G900P|SM-G900R4|SM-G900T|SM-G900V|SM-G900W8|SM-G800F/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGS5');
|
||||
}
|
||||
else if (preg_match('/SM-G920F/i', $user_agent))
|
||||
else if (preg_match('/SM-G920F/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGS6');
|
||||
}
|
||||
else if (preg_match('/SGH-I497/i', $user_agent))
|
||||
else if (preg_match('/SGH-I497/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SG2T');
|
||||
}
|
||||
else if (preg_match('/GT-P5210|SM-T110|SM-T310/i', $user_agent))
|
||||
else if (preg_match('/GT-P5210|SM-T110|SM-T310/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGT3');
|
||||
}
|
||||
else if (preg_match('/SM-T210/i', $user_agent))
|
||||
else if (preg_match('/SM-T210/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGT3W');
|
||||
}
|
||||
else if (preg_match('/SM-T335|SM-T530/i', $user_agent))
|
||||
else if (preg_match('/SM-T335|SM-T530/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGT4');
|
||||
}
|
||||
else if (preg_match('/SM-T520/i', $user_agent))
|
||||
else if (preg_match('/SM-T520/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGTP');
|
||||
}
|
||||
else if (preg_match('/SGH-I537/i', $user_agent))
|
||||
else if (preg_match('/SGH-I537/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGS4A');
|
||||
}
|
||||
else if (preg_match('/GT-I9505|GT-I9500|SPH-L720T/i', $user_agent))
|
||||
else if (preg_match('/GT-I9505|GT-I9500|SPH-L720T/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGS4');
|
||||
}
|
||||
else if (preg_match('/GT-I9100P/i', $user_agent))
|
||||
else if (preg_match('/GT-I9100P/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGS2');
|
||||
}
|
||||
else if (preg_match('/SM-N9005|SM-P600/i', $user_agent))
|
||||
else if (preg_match('/SM-N9005|SM-P600/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGN3');
|
||||
}
|
||||
else if (preg_match('/SM-N7505/i', $user_agent))
|
||||
else if (preg_match('/SM-N7505/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGN3N');
|
||||
}
|
||||
else if (preg_match('/SM-N910C|SM-N910F/i', $user_agent))
|
||||
else if (preg_match('/SM-N910C|SM-N910F/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGN4');
|
||||
}
|
||||
else if (preg_match('/SM-N920P/i', $user_agent))
|
||||
else if (preg_match('/SM-N920P/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGN5');
|
||||
}
|
||||
else if (preg_match('/SM-G357FZ/i', $user_agent))
|
||||
else if (preg_match('/SM-G357FZ/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGA4');
|
||||
}
|
||||
else if (preg_match('/SM-G925P/i', $user_agent))
|
||||
else if (preg_match('/SM-G925P/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGS6E');
|
||||
}
|
||||
else if (preg_match('/SM-G935F/i', $user_agent))
|
||||
else if (preg_match('/SM-G935F/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGS7E');
|
||||
}
|
||||
else if (preg_match('/SM-G950F|SM-G955F/i', $user_agent))
|
||||
else if (preg_match('/SM-G950F|SM-G955F/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGS8');
|
||||
}
|
||||
else if (preg_match('/GT-S7582/i', $user_agent))
|
||||
else if (preg_match('/GT-S7582/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGSD2');
|
||||
}
|
||||
else if (preg_match('/GT-I9100P/i', $user_agent))
|
||||
else if (preg_match('/GT-I9100P/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGS2');
|
||||
}
|
||||
@@ -177,39 +189,39 @@ class MobileDeviceDetect
|
||||
{
|
||||
$status = $this->language -> __get('HPL01');
|
||||
}
|
||||
else if (preg_match('/EVA-L09/i', $user_agent))
|
||||
else if (preg_match('/EVA-L09/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('HPL09');
|
||||
}
|
||||
else if (preg_match('/VNS-L23/i', $user_agent))
|
||||
else if (preg_match('/VNS-L23/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('HPL23');
|
||||
}
|
||||
else if (preg_match('/IMM76B/i', $user_agent))
|
||||
else if (preg_match('/IMM76B/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SGN');
|
||||
}
|
||||
else if (preg_match('/TF101/i', $user_agent))
|
||||
else if (preg_match('/TF101/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('ATT');
|
||||
}
|
||||
else if (preg_match('/Archos 40b/i', $user_agent))
|
||||
else if (preg_match('/Archos 40b/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('A4TS');
|
||||
}
|
||||
else if (preg_match('/A0001/i', $user_agent))
|
||||
else if (preg_match('/A0001/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('OPO');
|
||||
}
|
||||
else if (preg_match('/Orange Nura/i', $user_agent))
|
||||
else if (preg_match('/Orange Nura/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('ORN');
|
||||
}
|
||||
else if (preg_match('/XT1030/i', $user_agent))
|
||||
else if (preg_match('/XT1030/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('MDM');
|
||||
}
|
||||
else if (preg_match('/TIANYU-KTOUCH/i', $user_agent))
|
||||
else if (preg_match('/TIANYU-KTOUCH/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('TKT');
|
||||
}
|
||||
@@ -217,59 +229,59 @@ class MobileDeviceDetect
|
||||
{
|
||||
$status = $this->language -> __get('SXED');
|
||||
}
|
||||
else if (preg_match('/C2005|D2303/i', $user_agent))
|
||||
else if (preg_match('/C2005|D2303/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SXM2');
|
||||
}
|
||||
else if (preg_match('/C6906/i', $user_agent))
|
||||
else if (preg_match('/C6906/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SXZ1');
|
||||
}
|
||||
else if (preg_match('/D5803/i', $user_agent))
|
||||
else if (preg_match('/D5803/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('SXZ3');
|
||||
}
|
||||
else if (preg_match('/P710/i', $user_agent))
|
||||
else if (preg_match('/P710/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('LGOL7IT');
|
||||
}
|
||||
else if (preg_match('/LG-H850/i', $user_agent))
|
||||
else if (preg_match('/LG-H850/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('LGH850');
|
||||
}
|
||||
else if (preg_match('/LG-V500/i', $user_agent))
|
||||
else if (preg_match('/LG-V500/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('LGV500');
|
||||
}
|
||||
else if (preg_match('/lg/i', $user_agent))
|
||||
else if (preg_match('/lg/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('LG');
|
||||
}
|
||||
else if (preg_match('/ASUS_T00J/i', $user_agent))
|
||||
else if (preg_match('/ASUS_T00J/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('ATOOJ');
|
||||
}
|
||||
else if (preg_match('/Aquaris E5/i', $user_agent))
|
||||
else if (preg_match('/Aquaris E5/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('AE5HD');
|
||||
}
|
||||
else if (preg_match('/HTC Desire|626s/i', $user_agent))
|
||||
else if (preg_match('/HTC Desire|626s/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('HTCD');
|
||||
}
|
||||
else if (preg_match('/Nexus One/i', $user_agent))
|
||||
else if (preg_match('/Nexus One/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('N1');
|
||||
}
|
||||
else if (preg_match('/Nexus 4|LRX22C|LVY48F|LMY47V/i', $user_agent))
|
||||
else if (preg_match('/Nexus 4|LRX22C|LVY48F|LMY47V/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('N4');
|
||||
}
|
||||
else if (preg_match('/Nexus 5|LMY48S/i', $user_agent))
|
||||
else if (preg_match('/Nexus 5|LMY48S/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('N5');
|
||||
}
|
||||
else if (preg_match('/Nexus 7|KTU84P/i', $user_agent))
|
||||
else if (preg_match('/Nexus 7|KTU84P/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('N7');
|
||||
}
|
||||
@@ -277,7 +289,7 @@ class MobileDeviceDetect
|
||||
{
|
||||
$status = $this->language -> __get('N9');
|
||||
}
|
||||
else if (preg_match('/Lenovo_K50_T5/i', $user_agent))
|
||||
else if (preg_match('/Lenovo_K50_T5/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('LK50T5');
|
||||
}
|
||||
@@ -287,11 +299,11 @@ class MobileDeviceDetect
|
||||
}
|
||||
$mobile_browser = $android;
|
||||
break;
|
||||
case (preg_match('/opera mini/i', $user_agent));
|
||||
case (preg_match('/opera mini/i', $this->_user_agent));
|
||||
$status = $this->language -> __get('MOBILE_DEVICE');
|
||||
$mobile_browser = $opera;
|
||||
break;
|
||||
case (preg_match('/blackberry/i', $user_agent));
|
||||
case (preg_match('/blackberry/i', $this->_user_agent));
|
||||
if (preg_match('/BlackBerry9900|BlackBerry9930|BlackBerry9790|BlackBerry9780|BlackBerry9700|BlackBerry9650|BlackBerry9000|/i',$user_agent))
|
||||
{
|
||||
$status = 'BlackBerry Bold';
|
||||
@@ -300,27 +312,27 @@ class MobileDeviceDetect
|
||||
{
|
||||
$status = $this->language -> __get('BBCURVE');
|
||||
}
|
||||
else if (preg_match('/BlackBerry9860|BlackBerry9850|BlackBerry9810|BlackBerry9800/i', $user_agent))
|
||||
else if (preg_match('/BlackBerry9860|BlackBerry9850|BlackBerry9810|BlackBerry9800/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('BBTORCH');
|
||||
}
|
||||
else if (preg_match('/BlackBerry9900/i', $user_agent))
|
||||
else if (preg_match('/BlackBerry9900/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('BBTOUCH');
|
||||
}
|
||||
else if (preg_match('/BlackBerry9105/i', $user_agent))
|
||||
else if (preg_match('/BlackBerry9105/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('BBPEARL');
|
||||
}
|
||||
else if (preg_match('/BlackBerry8220/i', $user_agent))
|
||||
else if (preg_match('/BlackBerry8220/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('BBPEARLF');
|
||||
}
|
||||
else if (preg_match('/BlackBerry Storm|BlackBerry Storm2/i', $user_agent))
|
||||
else if (preg_match('/BlackBerry Storm|BlackBerry Storm2/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('BBSTORM');
|
||||
}
|
||||
else if (preg_match('/BlackBerry Passport/i', $user_agent))
|
||||
else if (preg_match('/BlackBerry Passport/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('BBPP');
|
||||
}
|
||||
@@ -328,7 +340,7 @@ class MobileDeviceDetect
|
||||
{
|
||||
$status = $this->language -> __get('BBP');
|
||||
}
|
||||
else if (preg_match('/BlackBerry PlayBook/i', $user_agent))
|
||||
else if (preg_match('/BlackBerry PlayBook/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('BBPB');
|
||||
}
|
||||
@@ -338,12 +350,12 @@ class MobileDeviceDetect
|
||||
}
|
||||
$mobile_browser = $blackberry;
|
||||
break;
|
||||
case (preg_match('/(pre\/|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine)/i', $user_agent));
|
||||
case (preg_match('/(pre\/|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine)/i', $this->_user_agent));
|
||||
$status = $this->language -> __get('PALM');
|
||||
$mobile_browser = $palm;
|
||||
break;
|
||||
case (preg_match('/(iris|3g_t|windows ce|windows Phone|opera mobi|windows ce; smartphone;|windows ce; iemobile)/i', $user_agent));
|
||||
if (preg_match('/Lumia 640 XL/i', $user_agent))
|
||||
case (preg_match('/(iris|3g_t|windows ce|windows Phone|opera mobi|windows ce; smartphone;|windows ce; iemobile)/i', $this->_user_agent));
|
||||
if (preg_match('/Lumia 640 XL/i', $this->_user_agent))
|
||||
{
|
||||
$status = $this->language -> __get('L640XL');
|
||||
}
|
||||
@@ -353,11 +365,11 @@ class MobileDeviceDetect
|
||||
}
|
||||
$mobile_browser = $windows;
|
||||
break;
|
||||
case (preg_match('/lge vx10000/i', $user_agent));
|
||||
case (preg_match('/lge vx10000/i', $this->_user_agent));
|
||||
$status = $this->language -> __get('VOYAGER');
|
||||
$mobile_browser = $windows;
|
||||
break;
|
||||
case (preg_match('/(mini 9.5|vx1000|lge |m800|e860|u940|ux840|compal|wireless| mobi|ahong|lg380|lgku|lgu900|lg210|lg47|lg920|lg840|lg370|sam-r|mg50|s55|g83|t66|vx400|mk99|d615|d763|el370|sl900|mp500|samu3|samu4|vx10|xda_|samu5|samu6|samu7|samu9|a615|b832|m881|s920|n210|s700|c-810|_h797|mob-x|sk16d|848b|mowser|s580|r800|471x|v120|rim8|c500foma:|160x|x160|480x|x640|t503|w839|i250|sprint|w398samr810|m5252|c7100|mt126|x225|s5330|s820|htil-g1|fly v71|s302|-x113|novarra|k610i|-three|8325rc|8352rc|sanyo|vx54|c888|nx250|n120|mtk |c5588|s710|t880|c5005|i;458x|p404i|s210|c5100|teleca|s940|c500|s590|foma|samsu|vx8|vx9|a1000|_mms|myx|a700|gu1100|bc831|e300|ems100|me701|me702m-three|sd588|s800|8325rc|ac831|mw200|brew |d88|htc\/|htc_touch|355x|m50|km100|d736|p-9521|telco|sl74|ktouch|m4u\/|me702|8325rc|kddi|phone|lg |sonyericsson|samsung|240x|x320|vx10|nokia|sony cmd|motorola|up.browser|up.link|mmp|symbian|smartphone|midp|wap|vodafone|o2|pocket|kindle|mobile|psp|treo)/i', $user_agent));
|
||||
case (preg_match('/(mini 9.5|vx1000|lge |m800|e860|u940|ux840|compal|wireless| mobi|ahong|lg380|lgku|lgu900|lg210|lg47|lg920|lg840|lg370|sam-r|mg50|s55|g83|t66|vx400|mk99|d615|d763|el370|sl900|mp500|samu3|samu4|vx10|xda_|samu5|samu6|samu7|samu9|a615|b832|m881|s920|n210|s700|c-810|_h797|mob-x|sk16d|848b|mowser|s580|r800|471x|v120|rim8|c500foma:|160x|x160|480x|x640|t503|w839|i250|sprint|w398samr810|m5252|c7100|mt126|x225|s5330|s820|htil-g1|fly v71|s302|-x113|novarra|k610i|-three|8325rc|8352rc|sanyo|vx54|c888|nx250|n120|mtk |c5588|s710|t880|c5005|i;458x|p404i|s210|c5100|teleca|s940|c500|s590|foma|samsu|vx8|vx9|a1000|_mms|myx|a700|gu1100|bc831|e300|ems100|me701|me702m-three|sd588|s800|8325rc|ac831|mw200|brew |d88|htc\/|htc_touch|355x|m50|km100|d736|p-9521|telco|sl74|ktouch|m4u\/|me702|8325rc|kddi|phone|lg |sonyericsson|samsung|240x|x320|vx10|nokia|sony cmd|motorola|up.browser|up.link|mmp|symbian|smartphone|midp|wap|vodafone|o2|pocket|kindle|mobile|psp|treo)/i', $this->_user_agent));
|
||||
$status = $this->language -> __get('MOBILE_DEVICE');
|
||||
$mobile_browser = true;
|
||||
break;
|
||||
@@ -374,16 +386,210 @@ class MobileDeviceDetect
|
||||
$mobile_browser = false;
|
||||
break;
|
||||
}
|
||||
header('Cache-Control: no-transform');
|
||||
header('Vary: User-Agent');
|
||||
|
||||
if ($mobile_browser == '')
|
||||
//@header('Cache-Control: no-transform');
|
||||
//@header('Vary: User-Agent');
|
||||
|
||||
if ($status == '')
|
||||
{
|
||||
return $mobile_browser;
|
||||
}
|
||||
elseif ($mobile_browser == '')
|
||||
{
|
||||
return $status;
|
||||
}
|
||||
else
|
||||
{
|
||||
return array($mobile_browser, $status);
|
||||
}
|
||||
}
|
||||
|
||||
private $_basic_browser = array (
|
||||
'Trident\/7.0' => 'Internet Explorer 11',
|
||||
'Beamrise' => 'Beamrise',
|
||||
'Opera' => 'Opera',
|
||||
'OPR' => 'Opera',
|
||||
'Shiira' => 'Shiira',
|
||||
'Chimera' => 'Chimera',
|
||||
'Phoenix' => 'Phoenix',
|
||||
'Firebird' => 'Firebird',
|
||||
'Camino' => 'Camino',
|
||||
'Netscape' => 'Netscape',
|
||||
'OmniWeb' => 'OmniWeb',
|
||||
'Konqueror' => 'Konqueror',
|
||||
'icab' => 'iCab',
|
||||
'Lynx' => 'Lynx',
|
||||
'Links' => 'Links',
|
||||
'hotjava' => 'HotJava',
|
||||
'amaya' => 'Amaya',
|
||||
'IBrowse' => 'IBrowse',
|
||||
'iTunes' => 'iTunes',
|
||||
'Silk' => 'Silk',
|
||||
'Dillo' => 'Dillo',
|
||||
'Maxthon' => 'Maxthon',
|
||||
'Arora' => 'Arora',
|
||||
'Galeon' => 'Galeon',
|
||||
'Iceape' => 'Iceape',
|
||||
'Iceweasel' => 'Iceweasel',
|
||||
'Midori' => 'Midori',
|
||||
'QupZilla' => 'QupZilla',
|
||||
'Namoroka' => 'Namoroka',
|
||||
'NetSurf' => 'NetSurf',
|
||||
'BOLT' => 'BOLT',
|
||||
'EudoraWeb' => 'EudoraWeb',
|
||||
'shadowfox' => 'ShadowFox',
|
||||
'Swiftfox' => 'Swiftfox',
|
||||
'Uzbl' => 'Uzbl',
|
||||
'UCBrowser' => 'UCBrowser',
|
||||
'Kindle' => 'Kindle',
|
||||
'wOSBrowser' => 'wOSBrowser',
|
||||
'Epiphany' => 'Epiphany',
|
||||
'SeaMonkey' => 'SeaMonkey',
|
||||
'Avant Browser' => 'Avant Browser',
|
||||
'Firefox' => 'Firefox',
|
||||
'Chrome' => 'Google Chrome',
|
||||
'MSIE' => 'Internet Explorer',
|
||||
'Internet Explorer' => 'Internet Explorer',
|
||||
'Safari' => 'Safari',
|
||||
'Mozilla' => 'Mozilla'
|
||||
);
|
||||
|
||||
private $_basic_platform = array(
|
||||
'windows' => 'Windows',
|
||||
'iPad' => 'iPad',
|
||||
'iPod' => 'iPod',
|
||||
'iPhone' => 'iPhone',
|
||||
'mac' => 'Apple',
|
||||
'android' => 'Android',
|
||||
'linux' => 'Linux',
|
||||
'Nokia' => 'Nokia',
|
||||
'BlackBerry' => 'BlackBerry',
|
||||
'FreeBSD' => 'FreeBSD',
|
||||
'OpenBSD' => 'OpenBSD',
|
||||
'NetBSD' => 'NetBSD',
|
||||
'UNIX' => 'UNIX',
|
||||
'DragonFly' => 'DragonFlyBSD',
|
||||
'OpenSolaris' => 'OpenSolaris',
|
||||
'SunOS' => 'SunOS',
|
||||
'OS\/2' => 'OS/2',
|
||||
'BeOS' => 'BeOS',
|
||||
'win' => 'Windows',
|
||||
'Dillo' => 'Linux',
|
||||
'PalmOS' => 'PalmOS',
|
||||
'RebelMouse' => 'RebelMouse'
|
||||
);
|
||||
|
||||
/**
|
||||
* @package Browser & Platform Detect class/functions
|
||||
* @author https://stackoverflow.com/users/1060394/jay
|
||||
* @ https://stackoverflow.com/questions/2257597/reliable-user-browser-detection-with-php
|
||||
*/
|
||||
function detect()
|
||||
{
|
||||
$this->detectBrowser();
|
||||
$this->detectPlatform();
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @package Browser & Platform Detect class/functions
|
||||
* @author https://stackoverflow.com/users/1060394/jay
|
||||
* @ https://stackoverflow.com/questions/2257597/reliable-user-browser-detection-with-php
|
||||
*/
|
||||
function detectBrowser()
|
||||
{
|
||||
foreach($this->_basic_browser as $pattern => $name)
|
||||
{
|
||||
if( preg_match("/".$pattern."/i",$this->_user_agent, $match))
|
||||
{
|
||||
$this->_name = $name;
|
||||
// finally get the correct version number
|
||||
$known = array('Version', $pattern, 'other');
|
||||
$pattern_version = '#(?<browser>' . join('|', $known).')[/ ]+(?<version>[0-9.|a-zA-Z.]*)#';
|
||||
if (!preg_match_all($pattern_version, $this->_user_agent, $matches))
|
||||
{
|
||||
// we have no matching number just continue
|
||||
}
|
||||
// see how many we have
|
||||
$i = count($matches['browser']);
|
||||
if ($i != 1)
|
||||
{
|
||||
//we will have two since we are not using 'other' argument yet
|
||||
//see if version is before or after the name
|
||||
if (strripos($this->_user_agent,"Version") < strripos($this->_user_agent,$pattern))
|
||||
{
|
||||
@$this->_version = $matches['version'][0];
|
||||
}
|
||||
else
|
||||
{
|
||||
@$this->_version = $matches['version'][1];
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->_version = $matches['version'][0];
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @package Browser & Platform Detect class/functions
|
||||
* @author https://stackoverflow.com/users/1060394/jay
|
||||
* @ https://stackoverflow.com/questions/2257597/reliable-user-browser-detection-with-php
|
||||
*/
|
||||
function detectPlatform()
|
||||
{
|
||||
foreach($this->_basic_platform as $key => $platform)
|
||||
{
|
||||
if (stripos($this->_user_agent, $key) !== false)
|
||||
{
|
||||
$this->_platform = $platform;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @package Browser & Platform Detect class/functions
|
||||
* @author https://stackoverflow.com/users/1060394/jay
|
||||
* @ https://stackoverflow.com/questions/2257597/reliable-user-browser-detection-with-php
|
||||
*/
|
||||
function getBrowser()
|
||||
{
|
||||
if(!empty($this->_name))
|
||||
{
|
||||
return $this->_name;
|
||||
}
|
||||
}
|
||||
|
||||
function getVersion()
|
||||
{
|
||||
return $this->_version;
|
||||
}
|
||||
|
||||
function getPlatform()
|
||||
{
|
||||
if(!empty($this->_platform))
|
||||
{
|
||||
return $this->_platform;
|
||||
}
|
||||
}
|
||||
|
||||
function getUserAgent()
|
||||
{
|
||||
return $this->_user_agent;
|
||||
}
|
||||
|
||||
function getInfo()
|
||||
{
|
||||
return "<strong>Browser:</strong> {$this->getBrowser()}" .
|
||||
"<strong> - </strong> {$this->getVersion()}" .
|
||||
//"<strong>Browser User Agent String:</strong> {$this->getUserAgent()}<br/>\n" .
|
||||
" :: <strong>Platform:</strong> {$this->getPlatform()}" .
|
||||
"<strong>-</strong> {$this->mobile_device_detect()}<br/>";
|
||||
}
|
||||
}
|
||||
|
||||
//end of class
|
||||
2
descript.ion
Normal file
@@ -0,0 +1,2 @@
|
||||
README.md Style Description: A purple-blue colors responsive design style for phpBB.
|
||||
license.html GNU General Public License\n\nVersion 2, June 1991\nCopyright (C) 1989, 1991 Free Software Foundation, Inc.\n59 Temple Place - Suite 330, Boston, MA 02111-1307, USA <04>
|
||||
10
images/index.htm
Normal file
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
</head>
|
||||
|
||||
<body bgcolor="#FFFFFF" text="#000000">
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -630,6 +630,7 @@ try
|
||||
$log -> add_entry($search_log);
|
||||
$str = $dir_list -> __toString();
|
||||
echo new Display($str);
|
||||
echo $mobile_device_detect->detect()->getInfo();
|
||||
}
|
||||
catch (ExceptionDisplay $e)
|
||||
{
|
||||
|
||||
BIN
index_icons/apache/docs.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
index_icons/kde/docs.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
index_icons/osx/docs.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
index_icons/winvista/docs.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
index_icons/winxp/docs.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
@@ -684,4 +684,6 @@ SXZ1 Sony Xperia Z1
|
||||
SXZ3 Sony Xperia Z3
|
||||
TKT Tianyu K-Touch
|
||||
VOYAGER Voyager
|
||||
WSP Windows Smartphone
|
||||
WSP Windows Smartphone
|
||||
MOBILE_DEVICE Mobile Device
|
||||
DESKTOP Desktop-PC
|
||||
@@ -685,4 +685,6 @@ SXZ1 Sony Xperia Z1
|
||||
SXZ3 Sony Xperia Z3
|
||||
TKT Tianyu K-Touch
|
||||
VOYAGER Voyager
|
||||
WSP Windows Smartphone
|
||||
WSP Windows Smartphone
|
||||
MOBILE_DEVICE Mobile Device
|
||||
DESKTOP Desktop-PC
|
||||
@@ -682,6 +682,8 @@ SXED Sony Xperia E1 Dual
|
||||
SXM2 Sony XPERIA M2
|
||||
SXZ1 Sony Xperia Z1
|
||||
SXZ3 Sony Xperia Z3
|
||||
TKT Tianyu K-Touch
|
||||
TKT Tianyu K-Touch
|
||||
VOYAGER Voyager
|
||||
WSP Windows Smartphone
|
||||
WSP Windows Smartphone
|
||||
MOBILE_DEVICE Mobile Device
|
||||
DESKTOP Desktop-PC
|
||||
12
templates/pubOry/admin/SwiftBlue.css
Normal file
@@ -0,0 +1,12 @@
|
||||
@CHARSET "UTF-8";
|
||||
|
||||
BODY {
|
||||
margin:5px;
|
||||
}
|
||||
TH, TD {
|
||||
font-size: 68.5%;
|
||||
}
|
||||
|
||||
.gen {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
45
templates/pubOry/admin/admin.css
Normal file
@@ -0,0 +1,45 @@
|
||||
fieldset {
|
||||
border: 0px;
|
||||
}
|
||||
div#admintabs {
|
||||
display:inline;
|
||||
}
|
||||
div#admintabs ul {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
color: #000;
|
||||
line-height: 30px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
div#admintabs li {
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
list-style-type: none;
|
||||
display: inline;
|
||||
border: 1px solid #777;
|
||||
background-color: #fff;
|
||||
}
|
||||
div#admintabs li a {
|
||||
text-decoration: none;
|
||||
padding: 2px 10px;
|
||||
color: #000;
|
||||
}
|
||||
div#admintabs li a:link {
|
||||
color: #000:
|
||||
}
|
||||
div#admintabs li a:visited {
|
||||
color: #000;
|
||||
}
|
||||
div#admintabs li a:hover {
|
||||
color: #777;
|
||||
}
|
||||
div#admintabs li.activetab {
|
||||
border: 1px solid #777;
|
||||
background-color: #ddd;
|
||||
}
|
||||
div#admintabs li.activetab a, div#tabs li.activetab a:link, div#tabs li.activetab a:visited, div#tabs li.activetab a:hover {
|
||||
color: #777;
|
||||
}
|
||||
10
templates/pubOry/admin/index.htm
Normal file
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
</head>
|
||||
|
||||
<body bgcolor="#FFFFFF" text="#000000">
|
||||
|
||||
</body>
|
||||
</html>
|
||||
31
templates/pubOry/admin/mainpage_header.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
|
||||
<head>
|
||||
{META}
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" />
|
||||
<title>{SITENAME} - {L_MX_ADMIN}</title>
|
||||
|
||||
<link rel="stylesheet" href="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}{T_MXBB_STYLESHEET}" type="text/css" >
|
||||
<!-- IF GECKO -->
|
||||
<!-- Optionally, redefine some defintions for gecko browsers -->
|
||||
<link rel="stylesheet" href="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}{T_GECKO_STYLESHEET}" type="text/css" >
|
||||
<!-- ENDIF -->
|
||||
<script language="javascript" type="text/javascript" src="{U_PORTAL_ROOT_PATH}modules/mx_shared/lib/Common.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{U_PORTAL_ROOT_PATH}modules/mx_shared/lib/Toggle.js"></script>
|
||||
{MX_ADDITIONAL_CSS}
|
||||
{MX_ICON_CSS}
|
||||
</head>
|
||||
<body class="{S_CONTENT_DIRECTION}">
|
||||
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="forumline">
|
||||
<tr>
|
||||
<td><img src="{LOGO}" alt="logo MX-Publisher" /></td>
|
||||
<td align="right"><h1>{ADMIN_TITLE}</h1></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{L_LOGGED_IN_AS} <strong>{USERNAME}</strong> [ <a href="{U_LOGOUT}">{L_LOGOUT}</a> ]</td>
|
||||
<td align="right"><a href="{U_PORTAL_ADMIN_INDEX}" target="main">{L_ADMIN_INDEX}</a> •
|
||||
<a href="{U_PORTAL_INDEX}">{L_PORTAL_INDEX}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p id="skip"><a href="#acp">{L_SKIP}</a></p>
|
||||
134
templates/pubOry/alternate.css
Normal file
@@ -0,0 +1,134 @@
|
||||
/**
|
||||
* An alternate stylesheet.
|
||||
*
|
||||
* @package AutoIndex
|
||||
* @author Justin Hagstrom <JustinHagstrom@yahoo.com>
|
||||
* @version 1.0.0 (February 03, 2005)
|
||||
*
|
||||
* @copyright Copyright (C) 2002-2005 Justin Hagstrom
|
||||
* @license http://www.gnu.org/licenses/gpl.html GNU General Public License (GPL)
|
||||
*
|
||||
* @link http://autoindex.sourceforge.net
|
||||
*/
|
||||
|
||||
/* Body */
|
||||
.autoindex_body, html
|
||||
{
|
||||
font-family: verdana, lucidia, sans-serif;
|
||||
font-size: 13px;
|
||||
background-color: #FCFCFC;
|
||||
}
|
||||
|
||||
/* Images */
|
||||
.autoindex_body img
|
||||
{
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Tables */
|
||||
.autoindex_table
|
||||
{
|
||||
width: 100%;
|
||||
border: none;
|
||||
border-spacing: 2px;
|
||||
}
|
||||
.light_row
|
||||
{
|
||||
background-color: #FEFEFE;
|
||||
font-size: 12px;
|
||||
}
|
||||
.dark_row
|
||||
{
|
||||
background-color: #EEEEEE;
|
||||
font-size: 12px;
|
||||
}
|
||||
.light_row:hover, .dark_row:hover
|
||||
{
|
||||
background-color: #FFF2BF;
|
||||
}
|
||||
.autoindex_td
|
||||
{
|
||||
border: 1px solid #FAFAFA;
|
||||
font-size: 12px;
|
||||
padding: 1px;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.autoindex_td_right
|
||||
{
|
||||
border: 1px solid #FAFAFA;
|
||||
font-size: 12px;
|
||||
padding: 1px;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.autoindex_td:hover, .autoindex_td_right:hover
|
||||
{
|
||||
font-size: 12px;
|
||||
padding: 1px;
|
||||
border: 1px solid #FFCC00;
|
||||
}
|
||||
.autoindex_th
|
||||
{
|
||||
background-color: #FFCC00;
|
||||
border: 1px solid #AA9339;
|
||||
font-size: 12px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
.plain_link
|
||||
{
|
||||
color: #000000;
|
||||
text-decoration: none;
|
||||
}
|
||||
.autoindex_a:visited, .autoindex_a:active
|
||||
{
|
||||
color: #00008F;
|
||||
text-decoration: none;
|
||||
}
|
||||
.autoindex_a:link
|
||||
{
|
||||
color: #0000FF;
|
||||
text-decoration: none;
|
||||
}
|
||||
.autoindex_a:hover
|
||||
{
|
||||
color: #392266;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
.button
|
||||
{
|
||||
color: #707070;
|
||||
background-color: #F2F6FC;
|
||||
font-family: arial, sans-serif;
|
||||
font-size: 11px;
|
||||
text-align: left;
|
||||
vertical-align: middle;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
border: 0px outset #CBCBCB;
|
||||
padding: 3px 10px 3px 10px;
|
||||
}
|
||||
|
||||
/* Misc. */
|
||||
.paragraph
|
||||
{
|
||||
background: #F2F6FC;
|
||||
color: #000020;
|
||||
font-size: 13px;
|
||||
}
|
||||
.autoindex_hr
|
||||
{
|
||||
color: #000020;
|
||||
background-color: #000020;
|
||||
border: none;
|
||||
width: 75%;
|
||||
height: 1px;
|
||||
}
|
||||
.autoindex_small
|
||||
{
|
||||
font-size: 10px;
|
||||
}
|
||||
666
templates/pubOry/animate.js
Normal file
@@ -0,0 +1,666 @@
|
||||
<!--
|
||||
// See KB article about changing this dynamic HTML
|
||||
dynamicanimAttr = "dynamicanimation"
|
||||
animCancel = "skipanim"
|
||||
fpanimationPrefix = "fpAnim"
|
||||
animateElements = new Array()
|
||||
currentElement = 0
|
||||
speed = 1
|
||||
stepsZoom = 8
|
||||
stepsWord = 8
|
||||
stepsFly = 17
|
||||
stepsSpiral = 16
|
||||
stepsSpiralWord = 19
|
||||
stepsElastic = 32
|
||||
steps = stepsZoom
|
||||
step = 0
|
||||
cornerPhase=0
|
||||
outEffect=0
|
||||
function remSuffix(str)
|
||||
{
|
||||
ind=str.indexOf("FP")
|
||||
str = str.substring(0,ind)
|
||||
return str
|
||||
}
|
||||
function dynAnimOut(el)
|
||||
{
|
||||
outEffect=1
|
||||
dynAnimation(el)
|
||||
outEffect=0
|
||||
}
|
||||
function dynAnimation(obj)
|
||||
{
|
||||
animateElements = new Array()
|
||||
var ms = navigator.appVersion.indexOf("MSIE")
|
||||
var macness = navigator.appVersion.indexOf("Macintosh")
|
||||
|
||||
ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)
|
||||
ns6 = false
|
||||
if(!ie4)
|
||||
{
|
||||
if((navigator.appName == "Netscape") &&
|
||||
(parseInt(navigator.appVersion.substring(0, 1)) >= 5))
|
||||
{
|
||||
ns6=true
|
||||
doc_els=document.getElementsByTagName('*')
|
||||
}
|
||||
else if((navigator.appName == "Netscape") &&
|
||||
(parseInt(navigator.appVersion.substring(0, 1)) == 4))
|
||||
{
|
||||
doc_els=document.layers
|
||||
}
|
||||
else
|
||||
return
|
||||
}
|
||||
else
|
||||
doc_els=document.all
|
||||
if(outEffect && !ie4)
|
||||
return
|
||||
if(ie4)
|
||||
{
|
||||
for (index=document.all.length-1; index >= document.body.sourceIndex; index--)
|
||||
{
|
||||
el = document.all[index]
|
||||
if(outEffect && el != obj)
|
||||
continue
|
||||
if(outEffect)
|
||||
animationId = el.id.substring(9,el.id.length)
|
||||
else
|
||||
animationId = el.id.substring(6,el.id.length)
|
||||
animation=remSuffix(animationId)
|
||||
if(null != animation)
|
||||
{
|
||||
altcnt=0
|
||||
if( animation == "dropWord" ||
|
||||
animation == "flyTopRightWord" ||
|
||||
animation == "flyBottomRightWord" ||
|
||||
animation == "waveWords" ||
|
||||
animation == "hopWords")
|
||||
{
|
||||
ih = el.innerHTML
|
||||
outString = ""
|
||||
i1 = 0
|
||||
iend = ih.length
|
||||
while(true)
|
||||
{
|
||||
i2 = startWord(ih, i1)
|
||||
if(i2 == -1)
|
||||
i2 = iend
|
||||
outWord(ih, i1, i2, false, "", outEffect ? obj.id : el.id)
|
||||
if(i2 == iend)
|
||||
break
|
||||
i1 = i2
|
||||
i2 = endWord(ih, i1)
|
||||
if(i2 == -1)
|
||||
i2 = iend
|
||||
if (animation == "waveWords")
|
||||
outWordAlt(ih, i1, i2, true, animation, altcnt)
|
||||
else
|
||||
outWord(ih, i1, i2, true, (outEffect ? "Out" : "") + animation,
|
||||
outEffect ? obj.id : el.id)
|
||||
|
||||
if(i2 == iend)
|
||||
break
|
||||
i1 = i2
|
||||
altcnt++
|
||||
}
|
||||
document.all[index].innerHTML = outString
|
||||
document.all[index].style.posLeft = 0
|
||||
document.all[index].setAttribute(animCancel, true)
|
||||
document.all[index].style.visibility="visible"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
i = 0
|
||||
for (index=0; index < doc_els.length; index++)
|
||||
{
|
||||
el = doc_els[index]
|
||||
if(0 != el.id.indexOf(fpanimationPrefix))
|
||||
continue
|
||||
if (ie4)
|
||||
{
|
||||
elprops=el.style
|
||||
scrollOffsetTop=document.body.scrollTop
|
||||
docHeight=document.body.offsetHeight
|
||||
docWidth=document.body.offsetWidth
|
||||
elW=100
|
||||
elH=el.offsetHeight
|
||||
}
|
||||
else
|
||||
{
|
||||
scrollOffsetTop=window.pageYOffset
|
||||
docHeight=window.innerHeight
|
||||
docWidth=window.innerWidth
|
||||
if (ns6)
|
||||
{
|
||||
elprops=el.style
|
||||
elW=100
|
||||
elH=el.offsetHeight
|
||||
}
|
||||
else{
|
||||
elprops=el
|
||||
elW=el.clip.width
|
||||
elH=el.clip.height
|
||||
}
|
||||
}
|
||||
if(outEffect)
|
||||
animationId = el.id.substring(9,el.id.length)
|
||||
else
|
||||
animationId = el.id.substring(6,el.id.length)
|
||||
animation=remSuffix(animationId)
|
||||
if(outEffect && (obj != el))
|
||||
{
|
||||
if(el.SRCID != obj.id)
|
||||
continue
|
||||
}
|
||||
if (null != animation )
|
||||
{
|
||||
if(ie4 && null!=el.getAttribute(animCancel, false))
|
||||
continue
|
||||
if(!ie4)
|
||||
{
|
||||
elprops.posLeft=elprops.left
|
||||
elprops.posTop=elprops.top
|
||||
}
|
||||
el.startL=offsetLeft(el)
|
||||
if(animation == "flyLeft")
|
||||
{
|
||||
elprops.posLeft = -offsetLeft(el)-elW
|
||||
elprops.posTop = 0
|
||||
}
|
||||
else if(animation == "flyRight" || animation=="elasticRight")
|
||||
{
|
||||
elprops.posLeft = -offsetLeft(el)+docWidth
|
||||
elprops.posTop = 0
|
||||
}
|
||||
else if(animation == "flyTop" || animation == "dropWord")
|
||||
{
|
||||
elprops.posLeft = 0
|
||||
elprops.posTop = scrollOffsetTop-offsetTop(el)-elH
|
||||
}
|
||||
else if(animation == "flyBottom" || animation == "elasticBottom")
|
||||
{
|
||||
elprops.posLeft = 0
|
||||
elprops.posTop = scrollOffsetTop-offsetTop(el)+docHeight
|
||||
}
|
||||
else if(animation == "flyTopLeft")
|
||||
{
|
||||
elprops.posLeft = -offsetLeft(el)-elW
|
||||
elprops.posTop = scrollOffsetTop-offsetTop(el)-elH
|
||||
}
|
||||
else if(animation == "flyTopRight" || animation == "flyTopRightWord")
|
||||
{
|
||||
elprops.posLeft = -offsetLeft(el)+docWidth
|
||||
elprops.posTop = scrollOffsetTop-offsetTop(el)-elH
|
||||
}
|
||||
else if(animation == "flyCorner")
|
||||
{
|
||||
elprops.posLeft = docWidth*0.2-offsetLeft(el)
|
||||
|
||||
elprops.posTop = scrollOffsetTop-offsetTop(el)+docHeight
|
||||
}
|
||||
else if(animation == "flyBottomLeft")
|
||||
{
|
||||
elprops.posLeft = -offsetLeft(el)-elW
|
||||
elprops.posTop = scrollOffsetTop-offsetTop(el)+docHeight
|
||||
}
|
||||
else if(animation == "flyBottomRight" || animation == "flyBottomRightWord")
|
||||
{
|
||||
elprops.posLeft = -offsetLeft(el)+docWidth
|
||||
elprops.posTop = scrollOffsetTop-offsetTop(el)+docHeight
|
||||
}
|
||||
else if(animation == "spiral")
|
||||
{
|
||||
elprops.posLeft = -offsetLeft(el)+docWidth
|
||||
elprops.posTop = scrollOffsetTop-offsetTop(el)+docHeight
|
||||
}
|
||||
else if((animation.indexOf("waveWords") != -1) || animation=="hopWords")
|
||||
{
|
||||
if(i)
|
||||
{
|
||||
prevEl=animateElements[i-1]
|
||||
elprops.r = offsetLeft(el)-prevEl.startL
|
||||
}
|
||||
else
|
||||
elprops.r = offsetLeft(el)
|
||||
}
|
||||
else if(animation == "wipeLR" || animation == "wipeMID")
|
||||
{
|
||||
if (ie4 && elprops.position=="absolute")
|
||||
{
|
||||
el.sizeW=el.offsetWidth
|
||||
|
||||
if(macness < 0)
|
||||
elprops.clip="rect(0 0 0 0)"
|
||||
}
|
||||
else if (!ie4)
|
||||
{
|
||||
if (ns6)
|
||||
{
|
||||
elprops.clip="rect(0 0 0 0)"
|
||||
}
|
||||
else{
|
||||
el.sizeW=el.clip.width
|
||||
el.clip.width=0
|
||||
}
|
||||
}
|
||||
}
|
||||
else if(animation == "wipeTB")
|
||||
{
|
||||
if (ie4 && elprops.position=="absolute")
|
||||
{
|
||||
elprops.clip="rect(0 0 0 0)"
|
||||
}
|
||||
else if(!ie4)
|
||||
{
|
||||
if (ns6)
|
||||
{
|
||||
elprops.clip="rect(0 0 0 0)"
|
||||
}
|
||||
else{
|
||||
el.sizeH=el.clip.height
|
||||
el.clip.height=0
|
||||
}
|
||||
}
|
||||
}
|
||||
else if(animation == "zoomIn")
|
||||
{
|
||||
elprops.posLeft = 0
|
||||
elprops.posTop = 0
|
||||
}
|
||||
else if(animation == "zoomOut")
|
||||
{
|
||||
elprops.posLeft = 0
|
||||
elprops.posTop = 0
|
||||
}
|
||||
else
|
||||
{
|
||||
continue
|
||||
}
|
||||
if(!outEffect)
|
||||
{
|
||||
el.initLeft = elprops.posLeft
|
||||
el.initTop = elprops.posTop
|
||||
el.endLeft = 0
|
||||
el.endTop = 0
|
||||
elprops.visibility = "hidden"
|
||||
}
|
||||
else
|
||||
{
|
||||
el.initLeft = 0
|
||||
el.initTop = 0
|
||||
el.endLeft = elprops.posLeft
|
||||
el.endTop = elprops.posTop
|
||||
elprops.posTop = 0
|
||||
elprops.posLeft = 0
|
||||
}
|
||||
if(!ie4)
|
||||
{
|
||||
elprops.left=elprops.initLeft
|
||||
elprops.top =elprops.initTop
|
||||
}
|
||||
animateElements[i++] = el
|
||||
}
|
||||
}
|
||||
if(animateElements.length > 0)
|
||||
{
|
||||
if(outEffect)
|
||||
window.setTimeout("animate(1);", speed, "Javascript")
|
||||
else
|
||||
window.setTimeout("animate(0);", speed, "Javascript")
|
||||
}
|
||||
}
|
||||
function offsetLeft(el)
|
||||
{
|
||||
if(ie4 || ns6)
|
||||
{
|
||||
x = el.offsetLeft
|
||||
for (e = el.offsetParent; e; e = e.offsetParent)
|
||||
x += e.offsetLeft
|
||||
return x
|
||||
}
|
||||
else
|
||||
{
|
||||
x = el.pageX
|
||||
return x
|
||||
}
|
||||
}
|
||||
function offsetTop(el)
|
||||
{
|
||||
if(ie4 || ns6)
|
||||
{
|
||||
y = el.offsetTop
|
||||
for (e = el.offsetParent; e; e = e.offsetParent)
|
||||
y += e.offsetTop;
|
||||
return y
|
||||
}
|
||||
else
|
||||
{
|
||||
y = el.pageY
|
||||
return y
|
||||
}
|
||||
}
|
||||
function startWord(ih, i)
|
||||
{
|
||||
for(tag = false; i < ih.length; i++)
|
||||
{
|
||||
c = ih.charAt(i)
|
||||
if(c == '<')
|
||||
{
|
||||
if(ih.substring(i+1, i+4) == "IMG")
|
||||
return i;
|
||||
tag = true
|
||||
}
|
||||
if(!tag)
|
||||
return i
|
||||
if(c == '>')
|
||||
tag = false
|
||||
}
|
||||
return -1
|
||||
}
|
||||
function endWord(ih, i)
|
||||
{
|
||||
nonSpace = false
|
||||
space = false
|
||||
img = false
|
||||
if(ih.charAt(i) == '<')
|
||||
{
|
||||
img = true
|
||||
i++;
|
||||
}
|
||||
while(i < ih.length)
|
||||
{
|
||||
c = ih.charAt(i)
|
||||
if(c != ' ')
|
||||
nonSpace = true
|
||||
if(img && c == '>')
|
||||
img = false;
|
||||
if(nonSpace && !img && c == ' ')
|
||||
space = true
|
||||
if(c == '<')
|
||||
return i
|
||||
if(space && c != ' ')
|
||||
return i
|
||||
i++
|
||||
}
|
||||
return -1
|
||||
}
|
||||
function outWord(ih, i1, i2, dyn, anim, srcID)
|
||||
{
|
||||
if(dyn)
|
||||
if(!outEffect)
|
||||
outString += "<SPAN ID=\"" + fpanimationPrefix + anim + "FP\" style=\"position: relative; visibility: hidden;\">"
|
||||
else
|
||||
outString += "<SPAN SRCID=\"" + srcID + "\"ID=\"" + fpanimationPrefix + anim + "FP\" style=\"position: relative;\">"
|
||||
outString += ih.substring(i1, i2)
|
||||
if(dyn)
|
||||
outString += "</SPAN>"
|
||||
}
|
||||
function outWordAlt(ih, i1, i2, dyn, anim, altcnt)
|
||||
{
|
||||
if(dyn)
|
||||
{
|
||||
if(altcnt%2)
|
||||
outString += "<SPAN ID=\"" + fpanimationPrefix + anim + "LFP\" style=\"position: relative; visibility: hidden;\">"
|
||||
else
|
||||
outString += "<SPAN ID=\"" + fpanimationPrefix + anim + "RFP\" style=\"position: relative; visibility: hidden;\">"
|
||||
}
|
||||
|
||||
outString += ih.substring(i1, i2)
|
||||
if(dyn)
|
||||
outString += "</SPAN>"
|
||||
}
|
||||
function animate(animOut)
|
||||
{
|
||||
{
|
||||
el = animateElements[currentElement]
|
||||
|
||||
if(animOut)
|
||||
animationId = el.id.substring(9,el.id.length);
|
||||
else
|
||||
animationId = el.id.substring(6,el.id.length);
|
||||
animation=remSuffix(animationId)
|
||||
if (ie4)
|
||||
elprops=el.style
|
||||
else{
|
||||
if (ns6)
|
||||
elprops=el.style
|
||||
else
|
||||
elprops=el
|
||||
}
|
||||
|
||||
if(!step && !animOut)
|
||||
elprops.visibility="visible"
|
||||
step++
|
||||
if(animation == "spiral")
|
||||
{
|
||||
steps = stepsSpiral
|
||||
v = step/steps
|
||||
rf = 1.0 - v
|
||||
t = v * 2.0*Math.PI
|
||||
rx = Math.max(Math.abs(el.initLeft), 200)
|
||||
ry = Math.max(Math.abs(el.initTop), 200)
|
||||
elprops.posLeft = Math.ceil(-rf*Math.cos(t)*rx)
|
||||
elprops.posTop = Math.ceil(-rf*Math.sin(t)*ry)
|
||||
}
|
||||
else if(animation == "waveWordsL" || animation=="hopWords" || animation == "waveWords")
|
||||
{
|
||||
steps = stepsSpiralWord
|
||||
v = step/steps
|
||||
rf = (1.0 - v)
|
||||
t = v * 1.0*Math.PI
|
||||
elprops.posLeft = Math.ceil(-rf*Math.cos(t)*elprops.r)
|
||||
elprops.posTop = Math.ceil(-rf*Math.sin(t)*elprops.r)
|
||||
}
|
||||
else if(animation == "waveWordsR")
|
||||
{
|
||||
steps = stepsSpiralWord
|
||||
v = step/steps
|
||||
rf = (1.0 - v)
|
||||
t = v * 1.0*Math.PI
|
||||
elprops.posLeft = Math.ceil(-rf*Math.cos(t)*elprops.r)
|
||||
elprops.posTop = Math.ceil( rf*Math.sin(t)*elprops.r)
|
||||
}
|
||||
else if(animation == "zoomIn")
|
||||
{
|
||||
steps = stepsZoom
|
||||
elprops.fontSize = Math.ceil(50+50*step/steps) + "%"
|
||||
elprops.posLeft = 0
|
||||
}
|
||||
else if(animation == "zoomOut")
|
||||
{
|
||||
steps = stepsZoom
|
||||
fontSz=Math.ceil(100+200*(steps-step)/steps) + "%"
|
||||
elprops.fontSize = fontSz
|
||||
elprops.posLeft = 0
|
||||
}
|
||||
else if(animation == "elasticRight")
|
||||
{
|
||||
steps = stepsElastic
|
||||
v = step/steps
|
||||
rf=Math.exp(-v*7)
|
||||
t = v * 1.5*Math.PI
|
||||
rx =Math.abs(el.initLeft)
|
||||
elprops.posLeft = rf*Math.cos(t)*rx
|
||||
elprops.posTop = 0
|
||||
}
|
||||
else if(animation == "elasticBottom")
|
||||
{
|
||||
steps = stepsElastic
|
||||
v = step/steps
|
||||
rf=Math.exp(-v*7)
|
||||
t = v * 2.5*Math.PI
|
||||
ry =Math.abs(el.initTop)
|
||||
elprops.posLeft = 0
|
||||
elprops.posTop = rf*Math.cos(t)*ry
|
||||
}
|
||||
else if(animation == "wipeLR")
|
||||
{
|
||||
steps = stepsElastic
|
||||
if(ie4 && elprops.position=="absolute")
|
||||
elprops.clip = "rect(0 "+ step/steps*100 +"% 100% 0)"
|
||||
else if (!ie4)
|
||||
{
|
||||
if (ns6)
|
||||
{
|
||||
postop = elprops.top
|
||||
posleft = elprops.left
|
||||
str="position:absolute;top:"+postop+";left:"+posleft+";clip:rect(0px " + step/steps*el.offsetWidth + "px "+el.offsetHeight+"px 0px)";
|
||||
el.setAttribute("style",str);
|
||||
}
|
||||
else
|
||||
elprops.clip.right=step/steps*el.sizeW
|
||||
}
|
||||
}
|
||||
else if(animation == "wipeTB")
|
||||
{
|
||||
steps = stepsElastic
|
||||
if(ie4 && elprops.position=="absolute")
|
||||
elprops.clip = "rect(0 100% "+step/steps*el.offsetHeight+"px 0)"
|
||||
else{
|
||||
if (ns6)
|
||||
{
|
||||
postop = elprops.top
|
||||
posleft = elprops.left
|
||||
str="position:absolute;top:"+postop+";left:"+posleft+";clip:rect(0px "+ el.offsetWidth + "px " +step/steps*el.offsetHeight+"px 0px)";
|
||||
el.setAttribute("style",str);
|
||||
}
|
||||
else{
|
||||
elprops.clip.bottom=step/steps*el.sizeH
|
||||
}
|
||||
}
|
||||
}
|
||||
else if(animation == "wipeMID")
|
||||
{
|
||||
steps = stepsElastic
|
||||
if(ie4 && elprops.position=="absolute")
|
||||
{
|
||||
elprops.clip = "rect(0 "+el.sizeW/2*(1+step/steps)+"px 100% "+el.sizeW/2*(1-step/steps)+")"
|
||||
}
|
||||
else if(!ie4)
|
||||
{
|
||||
if (ns6)
|
||||
{
|
||||
postop = elprops.top
|
||||
posleft = elprops.left
|
||||
str="position:absolute;top:"+postop+";left:"+posleft+";clip:rect(0px "+ el.offsetWidth/2*(1+step/steps) + "px "+el.offsetHeight+"px "+el.offsetWidth/2*(1-step/steps)+"px)";
|
||||
el.setAttribute("style",str);
|
||||
}
|
||||
else{
|
||||
elprops.clip.right=el.sizeW/2*(1+step/steps)
|
||||
elprops.clip.left=el.sizeW/2*(1-step/steps)
|
||||
}
|
||||
}
|
||||
}
|
||||
else if(animation == "flyCorner")
|
||||
{
|
||||
if(!cornerPhase)
|
||||
{
|
||||
steps = stepsElastic/2
|
||||
v = step/steps
|
||||
rf=Math.exp(-v*7)
|
||||
t = v * 2.5*Math.PI
|
||||
ry =Math.abs(el.initTop)
|
||||
elprops.posTop = Math.ceil(rf*Math.cos(t)*ry)
|
||||
}
|
||||
else
|
||||
{
|
||||
steps = stepsFly
|
||||
dl = el.initLeft / steps
|
||||
elprops.posLeft = elprops.posLeft - dl
|
||||
elprops.posTop = 0
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
steps = stepsFly
|
||||
if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
|
||||
steps = stepsWord
|
||||
dl = (el.endLeft - el.initLeft) / steps
|
||||
dt = (el.endTop - el.initTop) / steps
|
||||
elprops.posLeft = elprops.posLeft + dl
|
||||
elprops.posTop = elprops.posTop + dt
|
||||
}
|
||||
if (step >= steps)
|
||||
{
|
||||
if(!(animation == "wipeLR" ||
|
||||
animation == "wipeTB" ||
|
||||
animation == "wipeMID" ||
|
||||
(animation == "flyCorner" && !cornerPhase)))
|
||||
{
|
||||
elprops.posLeft = el.endLeft
|
||||
elprops.posTop = el.endTop
|
||||
}
|
||||
if(animOut)
|
||||
{
|
||||
elprops.visibility="hidden"
|
||||
}
|
||||
|
||||
step = 0
|
||||
if(animation=="flyCorner" && !cornerPhase)
|
||||
cornerPhase=1
|
||||
else
|
||||
{
|
||||
cornerPhase=0
|
||||
currentElement++
|
||||
}
|
||||
|
||||
}
|
||||
if(!ie4)
|
||||
{
|
||||
elprops.left = elprops.posLeft
|
||||
elprops.top = elprops.posTop
|
||||
}
|
||||
if(currentElement < animateElements.length)
|
||||
{
|
||||
if(animOut)
|
||||
window.setTimeout("animate(1);", speed, "Javascript")
|
||||
else
|
||||
window.setTimeout("animate(0);", speed, "Javascript")
|
||||
}
|
||||
else
|
||||
currentElement=0
|
||||
}
|
||||
}
|
||||
function rollIn(el)
|
||||
{
|
||||
var ms = navigator.appVersion.indexOf("MSIE")
|
||||
ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)
|
||||
if(ie4)
|
||||
{
|
||||
el.initstyle=el.style.cssText;el.style.cssText=el.fprolloverstyle
|
||||
}
|
||||
}
|
||||
function rollOut(el)
|
||||
{
|
||||
var ms = navigator.appVersion.indexOf("MSIE")
|
||||
ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)
|
||||
if(ie4)
|
||||
{
|
||||
el.style.cssText=el.initstyle
|
||||
}
|
||||
}
|
||||
function clickSwapStyle(el)
|
||||
{
|
||||
var ms = navigator.appVersion.indexOf("MSIE")
|
||||
ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)
|
||||
if(ie4)
|
||||
{
|
||||
ts=el.style.cssText
|
||||
el.style.cssText=el.fprolloverstyle
|
||||
el.fprolloverstyle=ts
|
||||
}
|
||||
}
|
||||
function clickSwapImg(el)
|
||||
{
|
||||
if(document.all || document.layers)
|
||||
{
|
||||
ts=el.src
|
||||
el.src=el.lowsrc
|
||||
el.lowsrc=ts
|
||||
}
|
||||
}
|
||||
//-->
|
||||
|
||||
|
||||
129
templates/pubOry/bbcode.html
Normal file
@@ -0,0 +1,129 @@
|
||||
<!-- BEGIN ulist_open --><ul><!-- END ulist_open -->
|
||||
<!-- BEGIN ulist_close --></ul><!-- END ulist_close -->
|
||||
|
||||
<!-- BEGIN olist_open --><ol type="{LIST_TYPE}"><!-- END olist_open -->
|
||||
<!-- BEGIN olist_close --></ol><!-- END olist_close -->
|
||||
|
||||
<!-- BEGIN listitem --><li><!-- END listitem -->
|
||||
|
||||
<!-- BEGIN quote_username_open --></span>
|
||||
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
|
||||
<tr>
|
||||
<td><span class="genmed"><b>{USERNAME} {L_WROTE}:</b></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="quote"><!-- END quote_username_open -->
|
||||
<!-- BEGIN quote_open --></span>
|
||||
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
|
||||
<tr>
|
||||
<td><span class="genmed"><b>{L_QUOTE}:</b></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="quote"><!-- END quote_open -->
|
||||
<!-- BEGIN quote_close --></td>
|
||||
</tr>
|
||||
</table>
|
||||
<span class="postbody"><!-- END quote_close -->
|
||||
|
||||
<!-- BEGIN code_open --></span>
|
||||
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
|
||||
<tr>
|
||||
<td><span class="genmed"><b>{L_CODE}:</b></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="code"><!-- END code_open -->
|
||||
<!-- BEGIN code_close --></td>
|
||||
</tr>
|
||||
</table>
|
||||
<span class="postbody"><!-- END code_close -->
|
||||
|
||||
|
||||
<!-- BEGIN b_open --><span style="font-weight: bold"><!-- END b_open -->
|
||||
<!-- BEGIN b_close --></span><!-- END b_close -->
|
||||
|
||||
<!-- BEGIN u_open --><span style="text-decoration: underline"><!-- END u_open -->
|
||||
<!-- BEGIN u_close --></span><!-- END u_close -->
|
||||
|
||||
<!-- BEGIN i_open --><span style="font-style: italic"><!-- END i_open -->
|
||||
<!-- BEGIN i_close --></span><!-- END i_close -->
|
||||
|
||||
<!-- BEGIN color_open --><span style="color: {COLOR}"><!-- END color_open -->
|
||||
<!-- BEGIN color_close --></span><!-- END color_close -->
|
||||
|
||||
<!-- BEGIN size_open --><span style="font-size: {SIZE}px; line-height: normal"><!-- END size_open -->
|
||||
<!-- BEGIN size_close --></span><!-- END size_close -->
|
||||
|
||||
<!-- BEGIN img --><img src="{URL}" border="0" /><!-- END img -->
|
||||
|
||||
<!-- BEGIN url --><a href="{URL}" target="_blank" class="postlink">{DESCRIPTION}</a><!-- END url -->
|
||||
|
||||
<!-- BEGIN email --><a href="mailto:{EMAIL}">{EMAIL}</a><!-- END email -->
|
||||
|
||||
<!-- BEGIN flash --><!-- URL's used in the movie-->
|
||||
<!-- text used in the movie-->
|
||||
<!-- -->
|
||||
<div style="text-align:center;">
|
||||
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH={WIDTH} HEIGHT={HEIGHT}>
|
||||
<PARAM NAME=movie VALUE="{URL}"><PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=noborder> <PARAM NAME=wmode VALUE=transparent> <PARAM NAME=bgcolor VALUE=#000000>
|
||||
<EMBED src="{URL}" quality=high scale=noborder wmode=transparent bgcolor=#000000 WIDTH={WIDTH} HEIGHT={HEIGHT} TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
|
||||
</EMBED></OBJECT>
|
||||
</div>
|
||||
<!-- END flash -->
|
||||
|
||||
<!-- BEGIN GVideo -->
|
||||
<div style="text-align:center;">
|
||||
<object width="425" height="350">
|
||||
<param name="movie" value="http://video.google.com/googleplayer.swf?docId={GVIDEOID}"></param>
|
||||
<embed style="width:400px; height:326px;" id="VideoPlayback"
|
||||
align="middle" type="application/x-shockwave-flash"
|
||||
src="http://video.google.com/googleplayer.swf?docId={GVIDEOID}"
|
||||
allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff"
|
||||
scale="noScale" salign="TL" FlashVars="playerMode=embedded">
|
||||
</embed>
|
||||
</object><br />
|
||||
<a href="http://video.google.com/googleplayer.swf?docId={GVIDEOID}" target="_blank">{GVIDEOLINK}</a><br />
|
||||
</div>
|
||||
<!-- END GVideo -->
|
||||
|
||||
<!-- BEGIN youtube -->
|
||||
<div style="text-align:center;">
|
||||
<object width="425" height="350">
|
||||
<param name="movie" value="http://www.youtube.com/v/{YOUTUBEID}"></param>
|
||||
<embed src="http://www.youtube.com/v/{YOUTUBEID}" type="application/x-shockwave-flash" width="425" height="350"></embed>
|
||||
</object><br />
|
||||
<a href="http://youtube.com/watch?v={YOUTUBEID}" target="_blank">{YOUTUBELINK}</a></div><br />
|
||||
<!-- END youtube -->
|
||||
|
||||
<!-- BEGIN stream -->
|
||||
<div style="text-align:center;">
|
||||
<object id="wmp" width=300 height=70 classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
|
||||
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"
|
||||
standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">
|
||||
<param name="FileName" value="{URL}">
|
||||
<param name="ShowControls" value="1">
|
||||
<param name="ShowDisplay" value="0">
|
||||
<param name="ShowStatusBar" value="1">
|
||||
<param name="AutoSize" value="1">
|
||||
<param name="autoplay" value="0">
|
||||
<embed type="application/x-mplayer2"
|
||||
pluginspage="http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeatured/mediaplayer/default.asp"
|
||||
src="{URL}" name=MediaPlayer2 showcontrols=1 showdisplay=0 showstatusbar=1 autosize=1 autoplay=0 visible=1 animationatstart=0 transparentatstart=1 loop=0 height=70 width=300>
|
||||
</embed>
|
||||
</object>
|
||||
</div>
|
||||
<!-- END stream -->
|
||||
|
||||
<!-- BEGIN video -->
|
||||
<div style="text-align:center;">
|
||||
<div align="left"><embed src="{URL}" autoplay="false" width={WIDTH} height={HEIGHT}></embed></div>
|
||||
</div>
|
||||
<!-- END video -->
|
||||
|
||||
<!-- BEGIN hr --><hr noshade color='#000000' size='1'><!-- END hr -->
|
||||
|
||||
<!-- BEGIN fade_open -->
|
||||
<span style="height: 1; Filter: Alpha(Opacity=100, FinishOpacity=0, Style=1, StartX=0, FinishX=100%)">
|
||||
<!-- END fade_open -->
|
||||
<!-- BEGIN fade_close -->
|
||||
</span>
|
||||
<!-- END fade_close -->
|
||||
BIN
templates/pubOry/bgrad2.gif
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
9
templates/pubOry/biblia_online.js
Normal file
@@ -0,0 +1,9 @@
|
||||
document.writeln("<iframe width=\"640%\" height=\"800\"");
|
||||
document.writeln(" id=\"myiframe\" name=\"myiframe\"");
|
||||
document.writeln(" src=\"biblia_online/index.php\"");
|
||||
document.writeln(" onload=\"DYNIFS.resize('myiframe')\"");
|
||||
document.writeln(" scrolling=\"no\"");
|
||||
document.writeln(" style=\"width:100%;height:800px;border:1px dotted #BEBEBE;\">");
|
||||
document.writeln("Sorry, your browser doesn't seem to support IFrames!");
|
||||
document.writeln("</iframe>");
|
||||
document.writeln("");
|
||||
116
templates/pubOry/border.css
Normal file
@@ -0,0 +1,116 @@
|
||||
.titre2 {
|
||||
PADDING-LEFT: 7px; FONT: bolder x-small Verdana, Verdana, Arial, Helvetica, sans-serif; COLOR: #286fff; BACKGROUND-COLOR: #f0f9ff; TEXT-DECORATION: none
|
||||
}
|
||||
.titre3 {
|
||||
PADDING-LEFT: 15px; FONT-WEIGHT: bold; FONT-SIZE: x-small; COLOR: #3da3f5; FONT-STYLE: normal; FONT-FAMILY: Verdana, Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #f0f9ff; TEXT-DECORATION: none
|
||||
}
|
||||
/* Text style of module a:link */
|
||||
A:link {
|
||||
COLOR: #B6C7E5; FONT-WEIGHT: bold; TEXT-DECORATION: none
|
||||
}
|
||||
A:visited {
|
||||
COLOR: #80FFFF; FONT-WEIGHT: bold; TEXT-DECORATION: none
|
||||
}
|
||||
A:active {
|
||||
COLOR: green; TEXT-DECORATION: none
|
||||
}
|
||||
A:hover {
|
||||
COLOR: red; TEXT-DECORATION: none
|
||||
}
|
||||
.visit {
|
||||
FONT-SIZE: 9px; FONT-FAMILY: Times
|
||||
}
|
||||
/* Set the background color of the page.*/
|
||||
BODY
|
||||
{ BACKGROUND-COLOR: #000000;
|
||||
}
|
||||
.texte {
|
||||
BORDER-RIGHT: black; BORDER-TOP: black; FONT-WEIGHT: normal; FONT-SIZE: 11px; LEFT: 20px; BORDER-LEFT: black; COLOR: #000000; BORDER-BOTTOM: black; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-ALIGN: justify; TEXT-DECORATION: none
|
||||
}
|
||||
.textedom {
|
||||
BORDER-RIGHT: black; BORDER-TOP: black; FONT-WEIGHT: normal; FONT-SIZE: 12px; LEFT: 20px; BORDER-LEFT: black; COLOR: #666666; BORDER-BOTTOM: black; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-ALIGN: justify; TEXT-DECORATION: none
|
||||
}
|
||||
.texte1 {
|
||||
BORDER-RIGHT: black; BORDER-TOP: black; FONT-WEIGHT: normal; FONT-SIZE: 11px; LEFT: 20px; BORDER-LEFT: black; COLOR: #006600; BORDER-BOTTOM: black; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-ALIGN: justify; TEXT-DECORATION: none
|
||||
}
|
||||
.texte_sitenou {
|
||||
BORDER-RIGHT: black; BORDER-TOP: black; FONT-WEIGHT: normal; FONT-SIZE: 11px; LEFT: 20px; BORDER-LEFT: black; COLOR: #666666; BORDER-BOTTOM: black; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-ALIGN: center; TEXT-DECORATION: none
|
||||
}
|
||||
.texte_beta {
|
||||
BORDER-RIGHT: black; BORDER-TOP: black; FONT-WEIGHT: normal; FONT-SIZE: 11px; LEFT: 20px; BORDER-LEFT: black; COLOR: #666666; BORDER-BOTTOM: black; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-ALIGN: left; TEXT-DECORATION: none
|
||||
}
|
||||
.texte_red {
|
||||
BORDER-RIGHT: black; BORDER-TOP: black; FONT-WEIGHT: normal; FONT-SIZE: 11px; LEFT: 20px; BORDER-LEFT: black; COLOR: red; BORDER-BOTTOM: black; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-ALIGN: justify; TEXT-DECORATION: none
|
||||
}
|
||||
.texte2 {
|
||||
FONT-SIZE: 11px; LEFT: 20px; COLOR: #000000; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-ALIGN: justify; TEXT-DECORATION: none
|
||||
}
|
||||
.texte3 {
|
||||
FONT-SIZE: 10px; COLOR: #000000; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-ALIGN: right; TEXT-DECORATION: none
|
||||
}
|
||||
.T1 {
|
||||
FONT-WEIGHT: bold; FONT-SIZE: small; COLOR: #004000; FONT-FAMILY: Geneva, Verdana, Arial, Helvetica, sans-serif; HEIGHT: 5px; TEXT-ALIGN: left
|
||||
}
|
||||
.T2 {
|
||||
FONT-WEIGHT: bold; FONT-SIZE: x-small; PADDING-BOTTOM: 3px; MARGIN-LEFT: 20px; COLOR: #cc0000; TEXT-INDENT: 15pt; MARGIN-RIGHT: 35px; PADDING-TOP: 3px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
|
||||
}
|
||||
.barre {
|
||||
FONT-WEIGHT: bold; FONT-SIZE: x-small; COLOR: white; FONT-STYLE: normal; FONT-FAMILY: Verdana, Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #436bb5; TEXT-DECORATION: none
|
||||
}
|
||||
.textecent {
|
||||
FONT-WEIGHT: bold; FONT-SIZE: x-small; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
|
||||
}
|
||||
.textecent2 {
|
||||
FONT-WEIGHT: bold; FONT-SIZE: x-small; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
|
||||
}
|
||||
.lien {
|
||||
FONT-WEIGHT: normal; FONT-SIZE: x-small; COLOR: #ffffff; FONT-STYLE: normal; FONT-FAMILY: Verdana, Verdana, Arial, Helvetica, sans-serif; FONT-VARIANT: normal; TEXT-DECORATION: none
|
||||
}
|
||||
.lien_atentie {
|
||||
FONT-WEIGHT: normal; FONT-SIZE: x-small; COLOR: red; FONT-STYLE: normal; FONT-FAMILY: Verdana, Verdana, Arial, Helvetica, sans-serif; FONT-VARIANT: normal; TEXT-DECORATION: none
|
||||
}
|
||||
.liencale {
|
||||
FONT-WEIGHT: bold; FONT-SIZE: xx-small; COLOR: #11668e; FONT-STYLE: normal; FONT-FAMILY: Verdana, Verdana, Arial, Helvetica, sans-serif; FONT-VARIANT: normal; TEXT-DECORATION: none
|
||||
}
|
||||
.barreclair {
|
||||
FONT-WEIGHT: bold; FONT-SIZE: x-small; VERTICAL-ALIGN: middle; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #f7f7f7
|
||||
}
|
||||
.barreclair2 {
|
||||
FONT-WEIGHT: bold; FONT-SIZE: x-small; PADDING-BOTTOM: 5px; VERTICAL-ALIGN: middle; PADDING-TOP: 5px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #d3eafe
|
||||
}
|
||||
.lienp {
|
||||
FONT-WEIGHT: normal; FONT-SIZE: xx-small; COLOR: #006699; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; FONT-VARIANT: normal; TEXT-DECORATION: none
|
||||
}
|
||||
/* Set the default input values to:"BODER-COLOR: B5C6DE; BACKGROUND-COLOR: #b8d6fa;".*/
|
||||
INPUT {
|
||||
BORDER-TOP-WIDTH: 1px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 12px; BORDER-BOTTOM-WIDTH: 1px; MARGIN: 1px; COLOR: #B6C7E5; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BORDER-RIGHT-WIDTH: 1px; BODER-COLOR: B5C6DE; BACKGROUND-COLOR: #3366cc
|
||||
}
|
||||
TEXTAREA {
|
||||
BORDER-TOP-WIDTH: 1px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 11px; BORDER-LEFT-COLOR: #c8c8c8; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #c8c8c8; MARGIN: 1px; COLOR: black; BORDER-TOP-COLOR: #c8c8c8; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #f7f7f7; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #c8c8c8
|
||||
}
|
||||
SELECT {
|
||||
BORDER-TOP-WIDTH: 1px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 11px; BORDER-BOTTOM-WIDTH: 1px; MARGIN: 0px; COLOR: black; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #f7f7f7; BORDER-RIGHT-WIDTH: 1px; BODER-COLOR: B5C6DE
|
||||
}
|
||||
/* Set the A default color to:"COLOR: #006699;".*/
|
||||
A {
|
||||
FONT-WEIGHT: normal; FONT-SIZE: x-small; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; FONT-VARIANT: normal; TEXT-DECORATION: none
|
||||
}
|
||||
.test {
|
||||
FONT-WEIGHT: bold; FONT-SIZE: xx-small; COLOR: #11668e; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; FONT-VARIANT: normal; TEXT-DECORATION: none
|
||||
}
|
||||
.cadre {
|
||||
PADDING-RIGHT: 20px; PADDING-LEFT: 20px; FONT-WEIGHT: bold; FONT-SIZE: x-small; PADDING-BOTTOM: 20px; COLOR: #000000; PADDING-TOP: 20px; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff; TEXT-DECORATION: none
|
||||
}
|
||||
.cadress {
|
||||
PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-WEIGHT: bolder; FONT-SIZE: x-small; PADDING-BOTTOM: 8px; PADDING-TOP: 8px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #f0f9ff; TEXT-DECORATION: none
|
||||
}
|
||||
/* Set the form default size to:"0px".*/
|
||||
FORM {
|
||||
BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0px
|
||||
}
|
||||
/* Set the border default color to:"#c6c7ff".*/
|
||||
HR {
|
||||
BORDER-RIGHT: #fff6DE 4px solid; BORDER-TOP: #fff6DE 4px solid; BORDER-LEFT: #fff6DE 4px solid; BORDER-BOTTOM: #fff6DE 4px solid
|
||||
}
|
||||
|
||||
|
||||
BIN
templates/pubOry/d.gif
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
128
templates/pubOry/default.css
Normal file
@@ -0,0 +1,128 @@
|
||||
/**
|
||||
* The default CSS stylesheet used for all templates.
|
||||
*
|
||||
* @package AutoIndex
|
||||
* @author Justin Hagstrom <JustinHagstrom@yahoo.com>
|
||||
* @version 1.0.2 (February 05, 2004)
|
||||
*
|
||||
* @copyright Copyright (C) 2002-2004 Justin Hagstrom
|
||||
* @license http://www.gnu.org/licenses/gpl.html GNU General Public License (GPL)
|
||||
*
|
||||
* @link http://autoindex.sourceforge.net
|
||||
*/
|
||||
|
||||
/* Body */
|
||||
.autoindex_body, html
|
||||
{
|
||||
font-family: verdana, lucidia, sans-serif;
|
||||
font-size: 13px;
|
||||
background-color: #F0F0F0;
|
||||
}
|
||||
|
||||
/* Images */
|
||||
.autoindex_body img
|
||||
{
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Tables */
|
||||
.autoindex_table
|
||||
{
|
||||
width: 100%;
|
||||
border: none;
|
||||
border-spacing: 2px;
|
||||
}
|
||||
.light_row
|
||||
{
|
||||
background-color: #F2F6FC;
|
||||
font-size: 13px;
|
||||
}
|
||||
.dark_row
|
||||
{
|
||||
background-color: #DADEEE;
|
||||
font-size: 13px;
|
||||
}
|
||||
.autoindex_td
|
||||
{
|
||||
font-size: 13px;
|
||||
font-family: verdana, lucidia, sans-serif;
|
||||
vertical-align: top;
|
||||
border: 1px solid #7F8FA9;
|
||||
padding: 0px;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.autoindex_td_right
|
||||
{
|
||||
font-size: 13px;
|
||||
font-family: verdana, lucidia, sans-serif;
|
||||
vertical-align: top;
|
||||
border: 1px solid #7F8FA9;
|
||||
padding: 0px;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.autoindex_th
|
||||
{
|
||||
font-size: 13px;
|
||||
background-color: #7F8FAD;
|
||||
border: 1px solid #000010;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
.plain_link
|
||||
{
|
||||
color: #000000;
|
||||
text-decoration: none;
|
||||
}
|
||||
.autoindex_a:visited, .autoindex_a:active
|
||||
{
|
||||
color: #00008F;
|
||||
text-decoration: none;
|
||||
}
|
||||
.autoindex_a:link
|
||||
{
|
||||
color: #0000FF;
|
||||
text-decoration: none;
|
||||
}
|
||||
.autoindex_a:hover
|
||||
{
|
||||
color: #0000FF;
|
||||
text-decoration: overline underline;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
.button
|
||||
{
|
||||
color: #707070;
|
||||
background-color: #F2F6FC;
|
||||
font-family: sans-serif;
|
||||
font-size: 11px;
|
||||
text-align: left;
|
||||
vertical-align: middle;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
padding: 3px 10px 3px 10px;
|
||||
}
|
||||
|
||||
/* Misc. */
|
||||
.paragraph
|
||||
{
|
||||
background: #F2F6FC;
|
||||
font-size: 13px;
|
||||
color: #000020;
|
||||
}
|
||||
.autoindex_hr
|
||||
{
|
||||
color: #000020;
|
||||
background-color: #000020;
|
||||
border: none;
|
||||
width: 75%;
|
||||
height: 1px;
|
||||
}
|
||||
.autoindex_small
|
||||
{
|
||||
font-size: 10px;
|
||||
}
|
||||
22
templates/pubOry/documente.js
Normal file
@@ -0,0 +1,22 @@
|
||||
var displaymode=0
|
||||
var iframecode='<iframe id="external" style="width:512px; height:2400px" src="block_10.php"></iframe>'
|
||||
|
||||
if (displaymode==0)
|
||||
document.write(iframecode)
|
||||
|
||||
function gone(){
|
||||
var selectedurl=document.jumpy.example.options[document.jumpy.example.selectedIndex].value
|
||||
if (document.getElementById&&displaymode==0)
|
||||
document.getElementById("external").src=selectedurl
|
||||
else if (document.all&&displaymode==0)
|
||||
document.all.external.src=selectedurl
|
||||
else{
|
||||
if (!window.win2||win2.closed)
|
||||
win2=window.open(selectedurl)
|
||||
//else if win2 already exists
|
||||
else{
|
||||
win2.location=selectedurl
|
||||
win2.focus()
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
templates/pubOry/dynamicback2.gif
Normal file
|
After Width: | Height: | Size: 234 B |
83
templates/pubOry/dynifs.js
Normal file
@@ -0,0 +1,83 @@
|
||||
/*************************************************************\
|
||||
* DYNIFS - Dynamic IFrame Auto Size v1.0.0
|
||||
*
|
||||
* Copyright (C) 2006, Markus (phpMiX)
|
||||
* This script is released under GPL License.
|
||||
* Feel free to use this script (or part of it) wherever you need
|
||||
* it ...but please, give credit to original author. Thank you. :-)
|
||||
* We will also appreciate any links you could give us.
|
||||
* http://www.phpmix.org
|
||||
*
|
||||
* Enjoy! ;-)
|
||||
\*************************************************************/
|
||||
|
||||
var DYNIFS = {
|
||||
// Storage for known IFrames.
|
||||
iframes: {},
|
||||
// Here we save any previously installed onresize handler.
|
||||
oldresize: null,
|
||||
// Flag that tell us if we have already installed our onresize handler.
|
||||
ready: false,
|
||||
// The document dimensions last time onresize was executed.
|
||||
dim: [-1,-1],
|
||||
// Timer ID used to defer the actual resize action.
|
||||
timerID: 0,
|
||||
// Obtain the dimensions (width,height) of the given document.
|
||||
getDim: function(d) {
|
||||
var w=480, h=580, scr_h, off_h;
|
||||
if( d.height ) { return [d.width,d.height]; }
|
||||
with( d.body ) {
|
||||
if( scrollHeight ) { h=scr_h=scrollHeight; w=scrollWidth; }
|
||||
if( offsetHeight ) { h=off_h=offsetHeight; w=offsetWidth; }
|
||||
if( scr_h && off_h ) h=Math.max(scr_h, off_h);
|
||||
}
|
||||
return [w,h];
|
||||
},
|
||||
// This is our window.onresize handler.
|
||||
onresize: function() {
|
||||
// Invoke any previously installed onresize handler.
|
||||
if( typeof this.oldresize == 'function' ) { this.oldresize(); }
|
||||
// Check if the document dimensions really changed.
|
||||
var dim = this.getDim(document);
|
||||
if( this.dim[0] == dim[0] && this.dim[1] == dim[1] ) return;
|
||||
// Defer the resize action to prevent endless loop in quirksmode.
|
||||
if( this.timerID ) return;
|
||||
this.timerID = setTimeout('DYNIFS.deferred_resize();', 10);
|
||||
},
|
||||
// This is where the actual IFrame resize is invoked.
|
||||
deferred_resize: function() {
|
||||
// Walk the list of known IFrames to see if they need to be resized.
|
||||
for( var id in this.iframes ) this.resize(id);
|
||||
// Store resulting document dimensions.
|
||||
this.dim = this.getDim(document);
|
||||
// Clear the timer flag.
|
||||
this.timerID = 0;
|
||||
},
|
||||
// This is invoked when the IFrame is loaded or when the main window is resized.
|
||||
resize: function(id) {
|
||||
// Browser compatibility check.
|
||||
if( !window.frames || !window.frames[id] || !document.getElementById || !document.body )
|
||||
return;
|
||||
// Get references to the IFrame window and layer.
|
||||
var iframe = window.frames[id];
|
||||
var div = document.getElementById(id);
|
||||
if( !div ) return;
|
||||
// Save the IFrame id for later use in our onresize handler.
|
||||
if( !this.iframes[id] ) {
|
||||
this.iframes[id] = true;
|
||||
}
|
||||
// Should we inject our onresize event handler?
|
||||
if( !this.ready ) {
|
||||
this.ready = true;
|
||||
this.oldresize = window.onresize;
|
||||
window.onresize = new Function('DYNIFS.onresize();');
|
||||
}
|
||||
// This appears to be necessary in MSIE to compute the height
|
||||
// when the IFrame'd document is in quirksmode.
|
||||
// OTOH, it doesn't seem to break anything in standards mode, so...
|
||||
if( document.all ) div.style.height = '0px';
|
||||
// Resize the IFrame container.
|
||||
var dim = this.getDim(iframe.document);
|
||||
div.style.height = (dim[1]+30) + 'px';
|
||||
}
|
||||
};
|
||||
BIN
templates/pubOry/e.gif
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
39
templates/pubOry/each_file.tpl
Normal file
@@ -0,0 +1,39 @@
|
||||
<thead> </thead>
|
||||
</tbody>
|
||||
<tbody class="forabg">
|
||||
<tr class="{file:tr_class}">
|
||||
|
||||
<td class="row1 table1 autoindex_td">
|
||||
{file:if:is_file} /* if it is a file, make a direct link */
|
||||
<a class="autoindex_a" href="{file:parent_dir}{file:filename}">
|
||||
{end if}
|
||||
{file:if:is_dir} /* otherwise, for directories, display the folder with autoindex */
|
||||
<a class="autoindex_a" href="{file:link}">
|
||||
{end if}
|
||||
{if:icon_path}<img width="32" height="32" alt="[{file:file_ext}]" src="{file:icon}" />{end if:icon_path}
|
||||
{file:filename} {file:thumbnail}
|
||||
</a>{file:new_icon}{file:md5_link}{file:delete_link}{file:rename_link}{file:edit_description_link}{file:ftp_upload_link}
|
||||
</td>
|
||||
|
||||
{if:download_count}
|
||||
<td class="row2 table1 topicdetails autoindex_td_right responsive-hide">
|
||||
{file:downloads}
|
||||
</td>
|
||||
{end if:download_count}
|
||||
|
||||
<td class="row2 table1 topicdetails autoindex_td_right responsive-hide">
|
||||
{file:size}
|
||||
</td>
|
||||
|
||||
<td class="row2 table1 topicdetails autoindex_td_right responsive-show">
|
||||
{file:date}
|
||||
</td>
|
||||
|
||||
{if:description_file}
|
||||
<td class="row2 table1 topicdetails autoindex_td">
|
||||
{file:description}
|
||||
</td>
|
||||
{end if:description_file}
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
30
templates/pubOry/each_file1.tpl
Normal file
@@ -0,0 +1,30 @@
|
||||
|
||||
<tr class="{file:tr_class}">
|
||||
<td class="autoindex_td">
|
||||
{file:if:is_file} /* if it is a file, make a direct link */
|
||||
<a class="autoindex_a" href="{file:parent_dir}{file:filename}">
|
||||
{end if}
|
||||
{file:if:is_dir} /* otherwise, for directories, display the folder with autoindex */
|
||||
<a class="autoindex_a" href="{file:link}">
|
||||
{end if}
|
||||
{if:icon_path}<img width="16" height="16" alt="[{file:file_ext}]" src="{file:icon}" />{end if:icon_path}
|
||||
{file:filename} {file:thumbnail}
|
||||
</a>{file:new_icon}{file:md5_link}{file:delete_link}{file:rename_link}{file:edit_description_link}{file:ftp_upload_link}
|
||||
</td>
|
||||
{if:download_count}
|
||||
<td class="autoindex_td_right">
|
||||
{file:downloads}
|
||||
</td>
|
||||
{end if:download_count}
|
||||
<td class="autoindex_td_right">
|
||||
{file:size}
|
||||
</td>
|
||||
<td class="autoindex_td_right">
|
||||
{file:date}
|
||||
</td>
|
||||
{if:description_file}
|
||||
<td class="autoindex_td">
|
||||
{file:description}
|
||||
</td>
|
||||
{end if:description_file}
|
||||
</tr>
|
||||
7
templates/pubOry/each_file2.tpl
Normal file
@@ -0,0 +1,7 @@
|
||||
<td>
|
||||
<a class="autoindex_a" href="{file:link}">
|
||||
{file:if:is_dir}{if:icon_path}<img width="16" height="16" src="{file:icon}" alt="{words:thumbnail of} {file:filename}" />{end if:icon_path}{end if} {file:thumbnail}
|
||||
<br />{file:filename}</a>{file:new_icon}{file:md5_link}{file:delete_link}{file:rename_link}{file:edit_description_link}{file:ftp_upload_link}
|
||||
{if:description_file}<br />{file:description}{end if:description_file}
|
||||
</td>
|
||||
{do_every:4}</tr><tr height="160">{end do_every}
|
||||
403
templates/pubOry/editor.js
Normal file
@@ -0,0 +1,403 @@
|
||||
/**
|
||||
* bbCode control by subBlue design [ www.subBlue.com ]
|
||||
* Includes unixsafe colour palette selector by SHS`
|
||||
*/
|
||||
|
||||
// Startup variables
|
||||
var imageTag = false;
|
||||
var theSelection = false;
|
||||
|
||||
// Check for Browser & Platform for PC & IE specific bits
|
||||
// More details from: http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
|
||||
var clientPC = navigator.userAgent.toLowerCase(); // Get client info
|
||||
var clientVer = parseInt(navigator.appVersion); // Get browser version
|
||||
|
||||
var is_ie = ((clientPC.indexOf('msie') != -1) && (clientPC.indexOf('opera') == -1));
|
||||
var is_win = ((clientPC.indexOf('win') != -1) || (clientPC.indexOf('16bit') != -1));
|
||||
|
||||
var baseHeight;
|
||||
onload_functions.push('initInsertions()');
|
||||
|
||||
/**
|
||||
* Shows the help messages in the helpline window
|
||||
*/
|
||||
function helpline(help)
|
||||
{
|
||||
document.forms[form_name].helpbox.value = help_line[help];
|
||||
}
|
||||
|
||||
/**
|
||||
* Fix a bug involving the TextRange object. From
|
||||
* http://www.frostjedi.com/terra/scripts/demo/caretBug.html
|
||||
*/
|
||||
function initInsertions()
|
||||
{
|
||||
var doc;
|
||||
|
||||
if (document.forms[form_name])
|
||||
{
|
||||
doc = document;
|
||||
}
|
||||
else
|
||||
{
|
||||
doc = opener.document;
|
||||
}
|
||||
|
||||
var textarea = doc.forms[form_name].elements[text_name];
|
||||
|
||||
if (is_ie && typeof(baseHeight) != 'number')
|
||||
{
|
||||
textarea.focus();
|
||||
baseHeight = doc.selection.createRange().duplicate().boundingHeight;
|
||||
|
||||
if (!document.forms[form_name])
|
||||
{
|
||||
document.body.focus();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* bbstyle
|
||||
*/
|
||||
function bbstyle(bbnumber)
|
||||
{
|
||||
if (bbnumber != -1)
|
||||
{
|
||||
bbfontstyle(bbtags[bbnumber], bbtags[bbnumber+1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
insert_text('[*]');
|
||||
document.forms[form_name].elements[text_name].focus();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Apply bbcodes
|
||||
*/
|
||||
function bbfontstyle(bbopen, bbclose)
|
||||
{
|
||||
theSelection = false;
|
||||
|
||||
var textarea = document.forms[form_name].elements[text_name];
|
||||
|
||||
textarea.focus();
|
||||
|
||||
if ((clientVer >= 4) && is_ie && is_win)
|
||||
{
|
||||
// Get text selection
|
||||
theSelection = document.selection.createRange().text;
|
||||
|
||||
if (theSelection)
|
||||
{
|
||||
// Add tags around selection
|
||||
document.selection.createRange().text = bbopen + theSelection + bbclose;
|
||||
document.forms[form_name].elements[text_name].focus();
|
||||
theSelection = '';
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
|
||||
{
|
||||
mozWrap(document.forms[form_name].elements[text_name], bbopen, bbclose);
|
||||
document.forms[form_name].elements[text_name].focus();
|
||||
theSelection = '';
|
||||
return;
|
||||
}
|
||||
|
||||
//The new position for the cursor after adding the bbcode
|
||||
var caret_pos = getCaretPosition(textarea).start;
|
||||
var new_pos = caret_pos + bbopen.length;
|
||||
|
||||
// Open tag
|
||||
insert_text(bbopen + bbclose);
|
||||
|
||||
// Center the cursor when we don't have a selection
|
||||
// Gecko and proper browsers
|
||||
if (!isNaN(textarea.selectionStart))
|
||||
{
|
||||
textarea.selectionStart = new_pos;
|
||||
textarea.selectionEnd = new_pos;
|
||||
}
|
||||
// IE
|
||||
else if (document.selection)
|
||||
{
|
||||
var range = textarea.createTextRange();
|
||||
range.move("character", new_pos);
|
||||
range.select();
|
||||
storeCaret(textarea);
|
||||
}
|
||||
|
||||
textarea.focus();
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Insert text at position
|
||||
*/
|
||||
function insert_text(text, spaces, popup)
|
||||
{
|
||||
var textarea;
|
||||
|
||||
if (!popup)
|
||||
{
|
||||
textarea = document.forms[form_name].elements[text_name];
|
||||
}
|
||||
else
|
||||
{
|
||||
textarea = opener.document.forms[form_name].elements[text_name];
|
||||
}
|
||||
if (spaces)
|
||||
{
|
||||
text = ' ' + text + ' ';
|
||||
}
|
||||
|
||||
if (!isNaN(textarea.selectionStart))
|
||||
{
|
||||
var sel_start = textarea.selectionStart;
|
||||
var sel_end = textarea.selectionEnd;
|
||||
|
||||
mozWrap(textarea, text, '')
|
||||
textarea.selectionStart = sel_start + text.length;
|
||||
textarea.selectionEnd = sel_end + text.length;
|
||||
}
|
||||
else if (textarea.createTextRange && textarea.caretPos)
|
||||
{
|
||||
if (baseHeight != textarea.caretPos.boundingHeight)
|
||||
{
|
||||
textarea.focus();
|
||||
storeCaret(textarea);
|
||||
}
|
||||
|
||||
var caret_pos = textarea.caretPos;
|
||||
caret_pos.text = caret_pos.text.charAt(caret_pos.text.length - 1) == ' ' ? caret_pos.text + text + ' ' : caret_pos.text + text;
|
||||
}
|
||||
else
|
||||
{
|
||||
textarea.value = textarea.value + text;
|
||||
}
|
||||
if (!popup)
|
||||
{
|
||||
textarea.focus();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Add inline attachment at position
|
||||
*/
|
||||
function attach_inline(index, filename)
|
||||
{
|
||||
insert_text('[attachment=' + index + ']' + filename + '[/attachment]');
|
||||
document.forms[form_name].elements[text_name].focus();
|
||||
}
|
||||
|
||||
/**
|
||||
* Add quote text to message
|
||||
*/
|
||||
function addquote(post_id, username)
|
||||
{
|
||||
var message_name = 'message_' + post_id;
|
||||
var theSelection = '';
|
||||
var divarea = false;
|
||||
|
||||
if (document.all)
|
||||
{
|
||||
divarea = document.all[message_name];
|
||||
}
|
||||
else
|
||||
{
|
||||
divarea = document.getElementById(message_name);
|
||||
}
|
||||
|
||||
// Get text selection - not only the post content :(
|
||||
if (window.getSelection)
|
||||
{
|
||||
theSelection = window.getSelection().toString();
|
||||
}
|
||||
else if (document.getSelection)
|
||||
{
|
||||
theSelection = document.getSelection();
|
||||
}
|
||||
else if (document.selection)
|
||||
{
|
||||
theSelection = document.selection.createRange().text;
|
||||
}
|
||||
|
||||
if (theSelection == '' || typeof theSelection == 'undefined' || theSelection == null)
|
||||
{
|
||||
if (divarea.innerHTML)
|
||||
{
|
||||
theSelection = divarea.innerHTML.replace(/<br>/ig, '\n');
|
||||
theSelection = theSelection.replace(/<br\/>/ig, '\n');
|
||||
theSelection = theSelection.replace(/<\;/ig, '<');
|
||||
theSelection = theSelection.replace(/>\;/ig, '>');
|
||||
theSelection = theSelection.replace(/&\;/ig, '&');
|
||||
theSelection = theSelection.replace(/ \;/ig, ' ');
|
||||
}
|
||||
else if (document.all)
|
||||
{
|
||||
theSelection = divarea.innerText;
|
||||
}
|
||||
else if (divarea.textContent)
|
||||
{
|
||||
theSelection = divarea.textContent;
|
||||
}
|
||||
else if (divarea.firstChild.nodeValue)
|
||||
{
|
||||
theSelection = divarea.firstChild.nodeValue;
|
||||
}
|
||||
}
|
||||
|
||||
if (theSelection)
|
||||
{
|
||||
insert_text('[quote="' + username + '"]' + theSelection + '[/quote]');
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* From http://www.massless.org/mozedit/
|
||||
*/
|
||||
function mozWrap(txtarea, open, close)
|
||||
{
|
||||
var selLength = txtarea.textLength;
|
||||
var selStart = txtarea.selectionStart;
|
||||
var selEnd = txtarea.selectionEnd;
|
||||
var scrollTop = txtarea.scrollTop;
|
||||
|
||||
if (selEnd == 1 || selEnd == 2)
|
||||
{
|
||||
selEnd = selLength;
|
||||
}
|
||||
|
||||
var s1 = (txtarea.value).substring(0,selStart);
|
||||
var s2 = (txtarea.value).substring(selStart, selEnd)
|
||||
var s3 = (txtarea.value).substring(selEnd, selLength);
|
||||
|
||||
txtarea.value = s1 + open + s2 + close + s3;
|
||||
txtarea.selectionStart = selEnd + open.length + close.length;
|
||||
txtarea.selectionEnd = txtarea.selectionStart;
|
||||
txtarea.focus();
|
||||
txtarea.scrollTop = scrollTop;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Insert at Caret position. Code from
|
||||
* http://www.faqts.com/knowledge_base/view.phtml/aid/1052/fid/130
|
||||
*/
|
||||
function storeCaret(textEl)
|
||||
{
|
||||
if (textEl.createTextRange)
|
||||
{
|
||||
textEl.caretPos = document.selection.createRange().duplicate();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Color pallette
|
||||
*/
|
||||
function colorPalette(dir, width, height)
|
||||
{
|
||||
var r = 0, g = 0, b = 0;
|
||||
var numberList = new Array(6);
|
||||
var color = '';
|
||||
|
||||
numberList[0] = '00';
|
||||
numberList[1] = '40';
|
||||
numberList[2] = '80';
|
||||
numberList[3] = 'BF';
|
||||
numberList[4] = 'FF';
|
||||
|
||||
document.writeln('<table cellspacing="1" cellpadding="0" border="0">');
|
||||
|
||||
for (r = 0; r < 5; r++)
|
||||
{
|
||||
if (dir == 'h')
|
||||
{
|
||||
document.writeln('<tr>');
|
||||
}
|
||||
|
||||
for (g = 0; g < 5; g++)
|
||||
{
|
||||
if (dir == 'v')
|
||||
{
|
||||
document.writeln('<tr>');
|
||||
}
|
||||
|
||||
for (b = 0; b < 5; b++)
|
||||
{
|
||||
color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]);
|
||||
document.write('<td bgcolor="#' + color + '" style="width: ' + width + 'px; height: ' + height + 'px;">');
|
||||
document.write('<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;"><img src="images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>');
|
||||
document.writeln('</td>');
|
||||
}
|
||||
|
||||
if (dir == 'v')
|
||||
{
|
||||
document.writeln('</tr>');
|
||||
}
|
||||
}
|
||||
|
||||
if (dir == 'h')
|
||||
{
|
||||
document.writeln('</tr>');
|
||||
}
|
||||
}
|
||||
document.writeln('</table>');
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Caret Position object
|
||||
*/
|
||||
function caretPosition()
|
||||
{
|
||||
var start = null;
|
||||
var end = null;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get the caret position in an textarea
|
||||
*/
|
||||
function getCaretPosition(txtarea)
|
||||
{
|
||||
var caretPos = new caretPosition();
|
||||
|
||||
// simple Gecko/Opera way
|
||||
if(txtarea.selectionStart || txtarea.selectionStart == 0)
|
||||
{
|
||||
caretPos.start = txtarea.selectionStart;
|
||||
caretPos.end = txtarea.selectionEnd;
|
||||
}
|
||||
// dirty and slow IE way
|
||||
else if(document.selection)
|
||||
{
|
||||
|
||||
// get current selection
|
||||
var range = document.selection.createRange();
|
||||
|
||||
// a new selection of the whole textarea
|
||||
var range_all = document.body.createTextRange();
|
||||
range_all.moveToElementText(txtarea);
|
||||
|
||||
// calculate selection start point by moving beginning of range_all to beginning of range
|
||||
var sel_start;
|
||||
for (sel_start = 0; range_all.compareEndPoints('StartToStart', range) < 0; sel_start++)
|
||||
{
|
||||
range_all.moveStart('character', 1);
|
||||
}
|
||||
|
||||
txtarea.sel_start = sel_start;
|
||||
|
||||
// we ignore the end value for IE, this is already dirty enough and we don't need it
|
||||
caretPos.start = txtarea.sel_start;
|
||||
caretPos.end = txtarea.sel_start;
|
||||
}
|
||||
|
||||
return caretPos;
|
||||
}
|
||||
18
templates/pubOry/error_body.html
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
<table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0">
|
||||
<tr>
|
||||
<td><table width="100%" cellspacing="0" cellpadding="1" border="0">
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><span class="gen">{ERROR_MESSAGE}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br clear="all" />
|
||||
123
templates/pubOry/essential.css
Normal file
@@ -0,0 +1,123 @@
|
||||
BODY {
|
||||
FONT-SIZE: 10pt; COLOR: white; FONT-FAMILY: verdana,tahoma,geneva,helvetica; font-size-adjust: 0.54
|
||||
}
|
||||
TD {
|
||||
FONT-SIZE: 10pt; COLOR: white; FONT-FAMILY: verdana,tahoma,geneva,helvetica; font-size-adjust: 0.54
|
||||
}
|
||||
TH {
|
||||
FONT-SIZE: 10pt; COLOR: white; FONT-FAMILY: verdana,tahoma,geneva,helvetica; font-size-adjust: 0.54
|
||||
}
|
||||
H1 {
|
||||
FONT-SIZE: 10pt; COLOR: white; FONT-FAMILY: verdana,tahoma,geneva,helvetica; font-size-adjust: 0.54
|
||||
}
|
||||
H2 {
|
||||
FONT-SIZE: 10pt; COLOR: white; FONT-FAMILY: verdana,tahoma,geneva,helvetica; font-size-adjust: 0.54
|
||||
}
|
||||
BODY {
|
||||
PADDING-LEFT: 100px; BACKGROUND-IMAGE: url(stars.jpg); MARGIN: 10px; BACKGROUND-REPEAT: repeat-y; BACKGROUND-COLOR: #000000; TEXT-ALIGN: left
|
||||
}
|
||||
#nav {
|
||||
LEFT: 2px; WIDTH: 96px; CURSOR: pointer; LINE-HEIGHT: 12pt; POSITION: absolute; TOP: 0px; TEXT-ALIGN: left
|
||||
}
|
||||
.left {
|
||||
TEXT-ALIGN: left
|
||||
}
|
||||
TABLE {
|
||||
BORDER-RIGHT: green 8px double; BORDER-TOP: green 8px double; MARGIN: auto; BORDER-LEFT: green 8px double; BORDER-BOTTOM: green 8px double; BACKGROUND-COLOR: #000000
|
||||
}
|
||||
TABLE.game TD {
|
||||
PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; VERTICAL-ALIGN: middle; PADDING-TOP: 5px; BACKGROUND-COLOR: #000000
|
||||
}
|
||||
TABLE.cv TD {
|
||||
PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; VERTICAL-ALIGN: middle; PADDING-TOP: 5px; BACKGROUND-COLOR: #000000
|
||||
}
|
||||
TABLE.cv TH {
|
||||
BACKGROUND-COLOR: #ffffff
|
||||
}
|
||||
TABLE.note {
|
||||
BORDER-LEFT-COLOR: #778899; BORDER-BOTTOM-COLOR: #778899; BORDER-TOP-COLOR: #778899; BORDER-RIGHT-COLOR: #778899
|
||||
}
|
||||
TABLE.note TH {
|
||||
BACKGROUND-COLOR: #778899
|
||||
}
|
||||
TABLE.roms {
|
||||
WIDTH: 85%
|
||||
}
|
||||
TABLE.roms TH {
|
||||
TEXT-ALIGN: left
|
||||
}
|
||||
TABLE H3 {
|
||||
MARGIN-TOP: 0px
|
||||
}
|
||||
TABLE TABLE {
|
||||
MARGIN-LEFT: 14px; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none
|
||||
}
|
||||
TABLE TD {
|
||||
VERTICAL-ALIGN: top; TEXT-ALIGN: left
|
||||
}
|
||||
TD.favorite {
|
||||
COLOR: #00ffff
|
||||
}
|
||||
TD.favorite:unknown {
|
||||
FONT-WEIGHT: bold; COLOR: #ffd700; content: " Favorite"
|
||||
}
|
||||
TH {
|
||||
TEXT-ALIGN: center
|
||||
}
|
||||
TH {
|
||||
FONT-WEIGHT: normal; BACKGROUND-COLOR: green
|
||||
}
|
||||
TH {
|
||||
BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none
|
||||
}
|
||||
TD {
|
||||
BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none
|
||||
}
|
||||
H1 {
|
||||
FONT-SIZE: 22pt
|
||||
}
|
||||
H1:first-letter {
|
||||
FONT-SIZE: 22pt; COLOR: green
|
||||
}
|
||||
H2 {
|
||||
FONT-SIZE: 16pt
|
||||
}
|
||||
H2:first-letter {
|
||||
FONT-SIZE: 16pt; COLOR: green
|
||||
}
|
||||
H3 {
|
||||
FONT-SIZE: 13.5pt
|
||||
}
|
||||
HR {
|
||||
BACKGROUND-COLOR: black
|
||||
}
|
||||
PRE {
|
||||
FONT-SIZE: 8pt
|
||||
}
|
||||
A {
|
||||
TEXT-DECORATION: none
|
||||
}
|
||||
A:link {
|
||||
FONT-WEIGHT: bold; COLOR: #00ff00
|
||||
}
|
||||
A:visited {
|
||||
FONT-WEIGHT: bold; COLOR: #00ff00
|
||||
}
|
||||
A:hover {
|
||||
COLOR: #ff8c00
|
||||
}
|
||||
A.down:link {
|
||||
COLOR: #006400; TEXT-DECORATION: line-through
|
||||
}
|
||||
A.down:visited {
|
||||
COLOR: #006400; TEXT-DECORATION: line-through
|
||||
}
|
||||
A.down:hover {
|
||||
COLOR: red
|
||||
}
|
||||
UNKNOWN {
|
||||
BACKGROUND: maroon
|
||||
}
|
||||
TD:unknown {
|
||||
BACKGROUND: maroon
|
||||
}
|
||||
257
templates/pubOry/forum_fn.js
Normal file
@@ -0,0 +1,257 @@
|
||||
/**
|
||||
* phpBB3 forum functions
|
||||
*/
|
||||
|
||||
/**
|
||||
* Window popup
|
||||
*/
|
||||
function popup(url, width, height, name)
|
||||
{
|
||||
if (!name)
|
||||
{
|
||||
name = '_popup';
|
||||
}
|
||||
|
||||
window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes, width=' + width);
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Jump to page
|
||||
*/
|
||||
function jumpto()
|
||||
{
|
||||
var page = prompt(jump_page, on_page);
|
||||
|
||||
if (page !== null && !isNaN(page) && page > 0)
|
||||
{
|
||||
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Mark/unmark checklist
|
||||
* id = ID of parent container, name = name prefix, state = state [true/false]
|
||||
*/
|
||||
function marklist(id, name, state)
|
||||
{
|
||||
var parent = document.getElementById(id);
|
||||
if (!parent)
|
||||
{
|
||||
eval('parent = document.' + id);
|
||||
}
|
||||
|
||||
if (!parent)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var rb = parent.getElementsByTagName('input');
|
||||
|
||||
for (var r = 0; r < rb.length; r++)
|
||||
{
|
||||
if (rb[r].name.substr(0, name.length) == name)
|
||||
{
|
||||
rb[r].checked = state;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Resize viewable area for attached image or topic review panel (possibly others to come)
|
||||
* e = element
|
||||
*/
|
||||
function viewableArea(e, itself)
|
||||
{
|
||||
if (!e) return;
|
||||
if (!itself)
|
||||
{
|
||||
e = e.parentNode;
|
||||
}
|
||||
|
||||
if (!e.vaHeight)
|
||||
{
|
||||
// Store viewable area height before changing style to auto
|
||||
e.vaHeight = e.offsetHeight;
|
||||
e.vaMaxHeight = e.style.maxHeight;
|
||||
e.style.height = 'auto';
|
||||
e.style.maxHeight = 'none';
|
||||
e.style.overflow = 'visible';
|
||||
}
|
||||
else
|
||||
{
|
||||
// Restore viewable area height to the default
|
||||
e.style.height = e.vaHeight + 'px';
|
||||
e.style.overflow = 'auto';
|
||||
e.style.maxHeight = e.vaMaxHeight;
|
||||
e.vaHeight = false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set display of page element
|
||||
* s[-1,0,1] = hide,toggle display,show
|
||||
*/
|
||||
function dE(n, s)
|
||||
{
|
||||
var e = document.getElementById(n);
|
||||
|
||||
if (!s)
|
||||
{
|
||||
s = (e.style.display == '' || e.style.display == 'block') ? -1 : 1;
|
||||
}
|
||||
e.style.display = (s == 1) ? 'block' : 'none';
|
||||
}
|
||||
|
||||
/**
|
||||
* Alternate display of subPanels
|
||||
*/
|
||||
function subPanels(p)
|
||||
{
|
||||
var i, e, t;
|
||||
|
||||
if (typeof(p) == 'string')
|
||||
{
|
||||
show_panel = p;
|
||||
}
|
||||
|
||||
for (i = 0; i < panels.length; i++)
|
||||
{
|
||||
e = document.getElementById(panels[i]);
|
||||
t = document.getElementById(panels[i] + '-tab');
|
||||
|
||||
if (e)
|
||||
{
|
||||
if (panels[i] == show_panel)
|
||||
{
|
||||
e.style.display = 'block';
|
||||
if (t)
|
||||
{
|
||||
t.className = 'activetab';
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
e.style.display = 'none';
|
||||
if (t)
|
||||
{
|
||||
t.className = '';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Call print preview
|
||||
*/
|
||||
function printPage()
|
||||
{
|
||||
if (is_ie)
|
||||
{
|
||||
printPreview();
|
||||
}
|
||||
else
|
||||
{
|
||||
window.print();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Show/hide groups of blocks
|
||||
* c = CSS style name
|
||||
* e = checkbox element
|
||||
* t = toggle dispay state (used to show 'grip-show' image in the profile block when hiding the profiles)
|
||||
*/
|
||||
function displayBlocks(c, e, t)
|
||||
{
|
||||
var s = (e.checked == true) ? 1 : -1;
|
||||
|
||||
if (t)
|
||||
{
|
||||
s *= -1;
|
||||
}
|
||||
|
||||
var divs = document.getElementsByTagName("DIV");
|
||||
|
||||
for (var d = 0; d < divs.length; d++)
|
||||
{
|
||||
if (divs[d].className.indexOf(c) == 0)
|
||||
{
|
||||
divs[d].style.display = (s == 1) ? 'none' : 'block';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function selectCode(a)
|
||||
{
|
||||
// Get ID of code block
|
||||
var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0];
|
||||
|
||||
// Not IE
|
||||
if (window.getSelection)
|
||||
{
|
||||
var s = window.getSelection();
|
||||
// Safari
|
||||
if (s.setBaseAndExtent)
|
||||
{
|
||||
s.setBaseAndExtent(e, 0, e, e.innerText.length - 1);
|
||||
}
|
||||
// Firefox and Opera
|
||||
else
|
||||
{
|
||||
var r = document.createRange();
|
||||
r.selectNodeContents(e);
|
||||
s.removeAllRanges();
|
||||
s.addRange(r);
|
||||
}
|
||||
}
|
||||
// Some older browsers
|
||||
else if (document.getSelection)
|
||||
{
|
||||
var s = document.getSelection();
|
||||
var r = document.createRange();
|
||||
r.selectNodeContents(e);
|
||||
s.removeAllRanges();
|
||||
s.addRange(r);
|
||||
}
|
||||
// IE
|
||||
else if (document.selection)
|
||||
{
|
||||
var r = document.body.createTextRange();
|
||||
r.moveToElementText(e);
|
||||
r.select();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Play quicktime file by determining it's width/height
|
||||
* from the displayed rectangle area
|
||||
*/
|
||||
function play_qt_file(obj)
|
||||
{
|
||||
var rectangle = obj.GetRectangle();
|
||||
|
||||
if (rectangle)
|
||||
{
|
||||
rectangle = rectangle.split(',');
|
||||
var x1 = parseInt(rectangle[0]);
|
||||
var x2 = parseInt(rectangle[2]);
|
||||
var y1 = parseInt(rectangle[1]);
|
||||
var y2 = parseInt(rectangle[3]);
|
||||
|
||||
var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
|
||||
var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
|
||||
}
|
||||
else
|
||||
{
|
||||
var width = 200;
|
||||
var height = 0;
|
||||
}
|
||||
|
||||
obj.width = width;
|
||||
obj.height = height + 16;
|
||||
|
||||
obj.SetControllerVisible(true);
|
||||
obj.Play();
|
||||
}
|
||||
218
templates/pubOry/fpdblib.inc
Normal file
@@ -0,0 +1,218 @@
|
||||
<%
|
||||
|
||||
Sub FP_SetLocaleForPage
|
||||
On Error Resume Next
|
||||
Session("FP_OldCodePage") = Session.CodePage
|
||||
Session("FP_OldLCID") = Session.LCID
|
||||
Err.Clear
|
||||
if FP_CodePage <> 0 then
|
||||
Session.CodePage = FP_CodePage
|
||||
if Err.Number <> 0 then Session.CodePage = Session("FP_OldCodePage")
|
||||
end if
|
||||
Err.Clear
|
||||
if FP_LCID <> 0 then
|
||||
Session.LCID = FP_LCID
|
||||
if Err.Number <> 0 then Session.LCID = Session("FP_OldLCID")
|
||||
end if
|
||||
End Sub
|
||||
|
||||
Sub FP_RestoreLocaleForPage
|
||||
On Error Resume Next
|
||||
if Session("FP_OldCodePage") <> 0 then
|
||||
Session.CodePage = Session("FP_OldCodePage")
|
||||
end if
|
||||
if Session("FP_OldLCID") <> 0 then
|
||||
Session.LCID = Session("FP_OldLCID")
|
||||
end if
|
||||
Err.Clear
|
||||
End Sub
|
||||
|
||||
Function FP_HTMLEncode(str)
|
||||
|
||||
FP_HTMLEncode = str
|
||||
FP_HTMLEncode = Replace(FP_HTMLEncode,"&","^^@^^")
|
||||
FP_HTMLEncode = Server.HTMLEncode(FP_HTMLEncode)
|
||||
FP_HTMLEncode = Replace(FP_HTMLEncode,"^^@^^","&")
|
||||
|
||||
End Function
|
||||
|
||||
Function FP_FieldVal(rs, fldname)
|
||||
|
||||
FP_FieldVal = FP_HTMLEncode(FP_Field(rs, fldname))
|
||||
if FP_FieldVal = "" then FP_FieldVal = " "
|
||||
|
||||
End Function
|
||||
|
||||
Function FP_Field(rs, fldname)
|
||||
|
||||
If Not IsEmpty(rs) And Not (rs Is Nothing) and Not IsNull(rs(fldname)) Then
|
||||
Select Case rs(fldname).Type
|
||||
Case 128, 204, 205 ' adBinary, adVarBinary, adLongVarBinary
|
||||
FP_Field = "[#BINARY#]"
|
||||
Case 201, 203 ' adLongVarChar, adLongVarWChar
|
||||
if rs(fldname).DefinedSize > 255 then
|
||||
' check for Access hyperlink fields (only absolute http links)
|
||||
fp_strVal = rs(fldname)
|
||||
fp_idxHash1 = InStr(LCase(fp_strVal),"#http://")
|
||||
if fp_idxHash1 > 0 then
|
||||
fp_idxHash2 = InStr(fp_idxHash1+1,fp_strVal,"#")
|
||||
if fp_idxHash2 > 0 then
|
||||
' this is an Access hyperlink; extract the URL part
|
||||
fp_strVal = Mid(fp_strVal,fp_idxHash1+1)
|
||||
if Right(fp_strVal,1) = "#" then
|
||||
fp_strVal = Left(fp_strVal,Len(fp_strVal)-1)
|
||||
end if
|
||||
end if
|
||||
end if
|
||||
FP_Field = fp_strVal
|
||||
else
|
||||
FP_Field = rs(fldname)
|
||||
end if
|
||||
Case Else
|
||||
FP_Field = rs(fldname)
|
||||
End Select
|
||||
Else
|
||||
FP_Field = ""
|
||||
End If
|
||||
|
||||
End Function
|
||||
|
||||
Function FP_FieldHTML(rs, fldname)
|
||||
|
||||
FP_FieldHTML = FP_HTMLEncode(FP_Field(rs, fldname))
|
||||
|
||||
End Function
|
||||
|
||||
Function FP_FieldURL(rs, fldname)
|
||||
|
||||
FP_FieldURL = Server.URLEncode(FP_Field(rs, fldname))
|
||||
|
||||
End Function
|
||||
|
||||
Function FP_FieldLink(rs, fldname)
|
||||
|
||||
FP_FieldLink = Replace(FP_Field(rs, fldname), " ", "%20")
|
||||
|
||||
End Function
|
||||
|
||||
Sub FP_OpenConnection(oConn, sAttrs, sUID, sPWD, fMSAccessReadOnly)
|
||||
|
||||
Dim sTmp
|
||||
Dim sConnStr
|
||||
Dim fIsAccessDriver
|
||||
|
||||
fIsAccessDriver = (InStr(LCase(sAttrs), "microsoft access driver") > 0)
|
||||
sConnStr = FP_RemoveDriverWithDSN(sAttrs)
|
||||
sTmp = sConnStr
|
||||
|
||||
On Error Resume Next
|
||||
|
||||
If fMSAccessReadOnly And fIsAccessDriver Then
|
||||
|
||||
sTmp = sTmp & ";Exclusive=1;ReadOnly=1"
|
||||
|
||||
Err.Clear
|
||||
oConn.Open sTmp, sUID, sPWD
|
||||
If Err.Description = "" Then Exit Sub
|
||||
|
||||
End If
|
||||
|
||||
Err.Clear
|
||||
oConn.Open sConnStr, sUID, sPWD
|
||||
|
||||
End Sub
|
||||
|
||||
Function FP_RemoveDriverWithDSN(sAttrs)
|
||||
|
||||
FP_RemoveDriverWithDSN = sAttrs
|
||||
|
||||
sDrv = "driver="
|
||||
sDSN = "dsn="
|
||||
sLC = LCase(sAttrs)
|
||||
if InStr(sLC, sDSN) < 1 then exit function
|
||||
|
||||
idxFirst = InStr(sLC, sDrv)
|
||||
if idxFirst < 1 then exit function
|
||||
idxBeg = idxFirst + Len(sDrv)
|
||||
if Mid(sLC,idxBeg,1) = "{" then
|
||||
idxEnd = InStr(idxBeg, sLC, "}")
|
||||
if idxEnd > 0 and Mid(sLC,idxEnd+1,1) = ";" then
|
||||
idxEnd = idxEnd + 1
|
||||
end if
|
||||
else
|
||||
idxEnd = InStr(idxBeg, sLC, ";")
|
||||
end if
|
||||
if idxEnd < 1 then idxEnd = Len(sLC)
|
||||
|
||||
FP_RemoveDriverWithDSN = Left(sAttrs,idxFirst-1) & Mid(sAttrs,idxEnd+1)
|
||||
|
||||
End Function
|
||||
|
||||
Sub FP_OpenRecordset(rs)
|
||||
|
||||
On Error Resume Next
|
||||
rs.Open
|
||||
|
||||
End Sub
|
||||
|
||||
Function FP_ReplaceQuoteChars(sQry)
|
||||
|
||||
Dim sIn
|
||||
Dim sOut
|
||||
Dim idx
|
||||
|
||||
sIn = sQry
|
||||
sOut = ""
|
||||
|
||||
idx = InStr(sIn, "%%")
|
||||
|
||||
Do While (idx > 0)
|
||||
|
||||
sOut = sOut & Left(sIn, idx - 1)
|
||||
sIn = Mid(sIn, idx + 2)
|
||||
if (Left(sIn,1) = "%") And (Left(sIn,2) <> "%%") then
|
||||
sIn = Mid(sIn, 2)
|
||||
sOut = sOut & "%"
|
||||
end if
|
||||
sOut = sOut & "::"
|
||||
|
||||
idx = InStr(sIn, "%%")
|
||||
if idx > 0 then
|
||||
sOut = sOut & Left(sIn, idx - 1)
|
||||
sIn = Mid(sIn, idx + 2)
|
||||
sOut = sOut & "::"
|
||||
if (Left(sIn,1) = "%") And (Left(sIn,2) <> "%%") then
|
||||
sIn = Mid(sIn, 2)
|
||||
sOut = sOut & "%"
|
||||
end if
|
||||
end if
|
||||
|
||||
idx = InStr(sIn, "%%")
|
||||
|
||||
Loop
|
||||
|
||||
sOut = sOut & sIn
|
||||
|
||||
FP_ReplaceQuoteChars = sOut
|
||||
|
||||
End Function
|
||||
|
||||
Sub FP_Close(obj)
|
||||
|
||||
On Error Resume Next
|
||||
|
||||
obj.Close
|
||||
|
||||
End Sub
|
||||
|
||||
Sub FP_SetCursorProperties(rs)
|
||||
|
||||
On Error Resume Next
|
||||
|
||||
rs.CursorLocation = 3 ' adUseClient
|
||||
rs.CursorType = 3 ' adOpenStatic
|
||||
|
||||
End Sub
|
||||
|
||||
%>
|
||||
|
||||
250
templates/pubOry/fpdbrgn1.inc
Normal file
@@ -0,0 +1,250 @@
|
||||
|
||||
<%
|
||||
|
||||
FP_SetLocaleForPage
|
||||
|
||||
' determine whether or not to provide navigation controls
|
||||
if fp_iPageSize > 0 then
|
||||
fp_fShowNavbar = True
|
||||
else
|
||||
fp_fShowNavbar = False
|
||||
end if
|
||||
|
||||
fp_sPagePath = Request.ServerVariables("PATH_INFO")
|
||||
fp_sEnvKey = fp_sPagePath & "#fpdbr_" & fp_iRegion
|
||||
fp_sFormName = "fpdbr_" & CStr(fp_iRegion)
|
||||
fp_sFormKey = fp_sFormName & "_PagingMove"
|
||||
|
||||
fp_sInputs = fp_sDefault
|
||||
|
||||
fp_sFirstLabel = " |< "
|
||||
fp_sPrevLabel = " < "
|
||||
fp_sNextLabel = " > "
|
||||
fp_sLastLabel = " >| "
|
||||
fp_sDashLabel = " -- "
|
||||
|
||||
if not IsEmpty(Request(fp_sFormKey)) then
|
||||
fp_sMoveType = Request(fp_sFormKey)
|
||||
else
|
||||
fp_sMoveType = ""
|
||||
end if
|
||||
|
||||
fp_iCurrent=1
|
||||
fp_fError=False
|
||||
fp_bBlankField=False
|
||||
Set fp_dictInputs = Server.CreateObject("Scripting.Dictionary")
|
||||
|
||||
fp_sQry = FP_ReplaceQuoteChars(fp_sQry)
|
||||
|
||||
' replace any input parameters in query string
|
||||
Do While (Not fp_fError) And (InStr(fp_iCurrent, fp_sQry, "::") <> 0)
|
||||
' found a opening quote, find the close quote
|
||||
fp_iStart = InStr(fp_iCurrent, fp_sQry, "::")
|
||||
fp_iEnd = InStr(fp_iStart + 2, fp_sQry, "::")
|
||||
If fp_iEnd = 0 Then
|
||||
fp_fError = True
|
||||
Response.Write "<B>Database Results Error: mismatched parameter delimiters</B>"
|
||||
Else
|
||||
fp_sField = Mid(fp_sQry, fp_iStart + 2, fp_iEnd - fp_iStart - 2)
|
||||
fp_sValue = Request.Form(fp_sField)
|
||||
if len(fp_sValue) = 0 then fp_sValue = Request.QueryString(fp_sField)
|
||||
|
||||
' if the named form field doesn't exist, make a note of it
|
||||
If (len(fp_sValue) = 0) Then
|
||||
fp_iStartField = InStr(fp_sDefault, fp_sField & "=")
|
||||
if fp_iStartField > 0 then
|
||||
fp_iStartField = fp_iStartField + len(fp_sField) + 1
|
||||
fp_iEndField = InStr(fp_iStartField,fp_sDefault,"&")
|
||||
if fp_iEndField > 0 then
|
||||
fp_sValue = Mid(fp_sDefault,fp_iStartField,fp_iEndField - fp_iStartField)
|
||||
else
|
||||
fp_sValue = Mid(fp_sDefault,fp_iStartField)
|
||||
end if
|
||||
end if
|
||||
End If
|
||||
|
||||
' remember names and values used in query
|
||||
if not fp_dictInputs.Exists(fp_sField) then
|
||||
fp_dictInputs.Add fp_sField, fp_sValue
|
||||
end if
|
||||
|
||||
' this next finds the named form field value, and substitutes in
|
||||
' doubled single-quotes for all single quotes in the literal value
|
||||
' so that SQL doesn't get confused by seeing unpaired single-quotes
|
||||
If (Mid(fp_sQry, fp_iStart - 1, 1) = """") Then
|
||||
fp_sValue = Replace(fp_sValue, """", """""")
|
||||
ElseIf (Mid(fp_sQry, fp_iStart - 1, 1) = "'") Then
|
||||
fp_sValue = Replace(fp_sValue, "'", "''")
|
||||
End If
|
||||
|
||||
If (len(fp_sValue) = 0) Then fp_bBlankField = True
|
||||
|
||||
fp_sQry = Left(fp_sQry, fp_iStart - 1) & fp_sValue & Right(fp_sQry, Len(fp_sQry) - fp_iEnd - 1)
|
||||
|
||||
' Fixup the new current position to be after the substituted value
|
||||
fp_iCurrent = fp_iStart + Len(fp_sValue)
|
||||
End If
|
||||
Loop
|
||||
|
||||
' establish connection
|
||||
If Not fp_fError Then
|
||||
if Application(fp_sDataConn & "_ConnectionString") = "" then
|
||||
Err.Description = "The database connection named '" & fp_sDataConn & "' is undefined.<br><br>"
|
||||
Err.Description = Err.Description & "This problem can occur if:<br>"
|
||||
Err.Description = Err.Description & "* the connection has been removed from the web<br>"
|
||||
Err.Description = Err.Description & "* the file 'global.asa' is missing or contains errors<br>"
|
||||
Err.Description = Err.Description & "* the root folder does not have Scripting permissions enabled<br>"
|
||||
Err.Description = Err.Description & "* the web is not marked as an Application Root<br>"
|
||||
fp_fError = True
|
||||
end if
|
||||
if Not fp_fError then
|
||||
set fp_conn = Server.CreateObject("ADODB.Connection")
|
||||
fp_conn.ConnectionTimeout = Application(fp_sDataConn & "_ConnectionTimeout")
|
||||
fp_conn.CommandTimeout = Application(fp_sDataConn & "_CommandTimeout")
|
||||
fp_sConn = Application(fp_sDataConn & "_ConnectionString")
|
||||
fp_sUid = Application(fp_sDataConn & "_RuntimeUserName")
|
||||
fp_sPwd = Application(fp_sDataConn & "_RuntimePassword")
|
||||
Err.Clear
|
||||
FP_OpenConnection fp_conn, fp_sConn, fp_sUid, fp_sPwd, Not(fp_fCustomQuery)
|
||||
if Err.Description <> "" then fp_fError = True
|
||||
end if
|
||||
if Not fp_fError then
|
||||
set fp_cmd = Server.CreateObject("ADODB.Command")
|
||||
fp_cmd.CommandText = fp_sQry
|
||||
fp_cmd.CommandType = fp_iCommandType
|
||||
set fp_cmd.ActiveConnection = fp_conn
|
||||
set fp_rs = Server.CreateObject("ADODB.Recordset")
|
||||
set fp_rs.Source = fp_cmd
|
||||
If fp_iCommandType = 4 Then
|
||||
fp_cmd.Parameters.Refresh
|
||||
Do Until Len(fp_sInputs) = 0
|
||||
fp_iLoc = InStr(fp_sInputs,"=")
|
||||
if fp_iLoc = 0 then exit do
|
||||
fp_sKey = Left(fp_sInputs,fp_iLoc - 1)
|
||||
fp_sInputs = Mid(fp_sInputs,fp_iLoc + 1)
|
||||
fp_iLoc = InStr(fp_sInputs,"&")
|
||||
if fp_iLoc = 0 then
|
||||
fp_sInpVal = fp_sInputs
|
||||
fp_sInputs = ""
|
||||
else
|
||||
fp_sInpVal = Left(fp_sInputs,fp_iLoc - 1)
|
||||
fp_sInputs = Mid(fp_sInputs,fp_iLoc + 1)
|
||||
end if
|
||||
fp_sVal = Request.Form(fp_sKey)
|
||||
if len(fp_sVal) = 0 then fp_sVal = Request.QueryString(fp_sKey)
|
||||
if len(fp_sVal) = 0 then fp_sVal = fp_sInpVal
|
||||
fp_pType = fp_cmd.Parameters(fp_sKey).Type
|
||||
select case fp_pType
|
||||
case 129, 200, 201, 130, 202, 203 ' adChar, adVarChar, adLongVarChar, adWChar, adVarWChar, adLongVarWChar
|
||||
fp_cmd.Parameters(fp_sKey).Size = Len(fp_sVal) + 1
|
||||
case else
|
||||
' do nothing
|
||||
end select
|
||||
|
||||
' remember names and values used in query
|
||||
if not fp_dictInputs.Exists(fp_sKey) then
|
||||
fp_dictInputs.Add fp_sKey, fp_sVal
|
||||
end if
|
||||
|
||||
fp_cmd.Parameters(fp_sKey) = fp_sVal
|
||||
Loop
|
||||
End If
|
||||
If fp_iMaxRecords <> 0 Then fp_rs.MaxRecords = fp_iMaxRecords
|
||||
|
||||
FP_SetCursorProperties(fp_rs)
|
||||
|
||||
FP_OpenRecordset(fp_rs)
|
||||
end if
|
||||
|
||||
If Err.Description <> "" Then
|
||||
if fp_fTableFormat then
|
||||
Response.Write "<tr><td colspan=" & fp_iDisplayCols & " color=#000000 bgcolor=#ffff00>"
|
||||
end if
|
||||
Response.Write "<tt>"
|
||||
Response.Write "<b>Database Results Error</b><br>"
|
||||
if Not fp_fError then
|
||||
Response.Write "<i>Description:</i> " & Err.Description & "<br>"
|
||||
Response.Write "<i>Number:</i> " & Err.Number & " (0x" & Hex(Err.Number) & ")<br>"
|
||||
Response.Write "<i>Source:</i> " & Err.Source & "<br>"
|
||||
else
|
||||
Response.Write Err.Description
|
||||
end if
|
||||
if fp_bBlankField Then
|
||||
Response.Write "<br>One or more form fields were empty."
|
||||
Response.Write " You should provide default values for all form fields that are used in the query."
|
||||
End If
|
||||
Response.Write "</tt>"
|
||||
if fp_fTableFormat then
|
||||
Response.Write "</td></tr>"
|
||||
end if
|
||||
fp_fError = True
|
||||
Else
|
||||
' Check for the no-record case
|
||||
if fp_rs.State <> 1 then
|
||||
fp_fError = True
|
||||
Response.Write fp_sNoRecords
|
||||
ElseIf fp_rs.EOF And fp_rs.BOF Then
|
||||
fp_fError = True
|
||||
Response.Write fp_sNoRecords
|
||||
end if
|
||||
end if
|
||||
end if
|
||||
|
||||
' determine whether or not provider supports Absolute Positioning
|
||||
if not fp_fError then
|
||||
if IsObject(fp_rs) and not(fp_rs.Supports(&H00004000)) then
|
||||
fp_iPageSize = 0
|
||||
fp_fShowNavbar = False
|
||||
end if
|
||||
end if
|
||||
|
||||
' move to correct position in result set
|
||||
if not fp_fError then
|
||||
|
||||
if fp_iPageSize > 0 then
|
||||
fp_iAbsPage = 1
|
||||
fp_sVal = Session(fp_sEnvKey)
|
||||
if fp_sVal <> "" then
|
||||
fp_iAbsPage = CInt(fp_sVal)
|
||||
end if
|
||||
|
||||
fp_rs.PageSize = fp_iPageSize
|
||||
if fp_iAbsPage > fp_rs.PageCount then fp_iAbsPage = fp_rs.PageCount
|
||||
fp_rs.AbsolutePage = fp_iAbsPage
|
||||
if fp_rs.PageCount = 1 then fp_fShowNavbar = False
|
||||
|
||||
select case fp_sMoveType
|
||||
case ""
|
||||
' do nothing
|
||||
case fp_sFirstLabel
|
||||
fp_rs.AbsolutePage = 1
|
||||
case fp_sPrevLabel
|
||||
if fp_rs.AbsolutePage > 1 then fp_rs.AbsolutePage = fp_rs.AbsolutePage - 1
|
||||
case fp_sNextLabel
|
||||
if fp_rs.AbsolutePage < fp_rs.PageCount then fp_rs.AbsolutePage = fp_rs.AbsolutePage + 1
|
||||
case fp_sLastLabel
|
||||
fp_rs.AbsolutePage = fp_rs.PageCount
|
||||
case else
|
||||
' do nothing
|
||||
end select
|
||||
|
||||
fp_iAbsPage = fp_rs.AbsolutePage
|
||||
Session(fp_sEnvKey) = fp_iAbsPage
|
||||
end if
|
||||
|
||||
end if
|
||||
|
||||
if fp_fError then fp_fShowNavbar = False
|
||||
|
||||
fp_iCount = 0
|
||||
Do
|
||||
if fp_fError then exit do
|
||||
if fp_rs.EOF then exit do
|
||||
if fp_iPageSize > 0 And fp_iCount >= fp_rs.PageSize then exit do
|
||||
if fp_iMaxRecords > 0 And fp_iCount >= fp_iMaxRecords then
|
||||
' MaxRecords didn't work; exit loop
|
||||
fp_fShowNavbar = False
|
||||
exit do
|
||||
end if
|
||||
%>
|
||||
|
||||
64
templates/pubOry/fpdbrgn2.inc
Normal file
@@ -0,0 +1,64 @@
|
||||
<%
|
||||
' Close the loop iterating records
|
||||
fp_iCount = fp_iCount + 1
|
||||
fp_rs.MoveNext
|
||||
Loop
|
||||
|
||||
if fp_fShowNavbar then
|
||||
if fp_fTableFormat then
|
||||
if fp_iDisplayCols < 1 then fp_iDisplayCols = 16
|
||||
Response.Write "<TR><TD ALIGN=LEFT VALIGN=MIDDLE COLSPAN=" & CStr(fp_iDisplayCols) & ">"
|
||||
end if
|
||||
|
||||
Response.Write "<FORM NAME=""" & fp_sFormName & """ ACTION=""" & Replace(fp_sPagePath," ","%20") & """ TARGET=""_self"" METHOD=POST>"
|
||||
|
||||
if fp_iAbsPage > 1 then
|
||||
fp_sType = "Submit"
|
||||
fp_sLabel = fp_sFirstLabel
|
||||
else
|
||||
fp_sType = "Button"
|
||||
fp_sLabel = fp_sDashLabel
|
||||
end if
|
||||
Response.Write "<NOBR><INPUT TYPE=" & fp_sType & " NAME=""" & fp_sFormKey & """ VALUE=""" & fp_sLabel & """>"
|
||||
if fp_iAbsPage > 1 then fp_sLabel = fp_sPrevLabel
|
||||
Response.Write "<INPUT TYPE=" & fp_sType & " NAME=""" & fp_sFormKey & """ VALUE=""" & fp_sLabel & """>"
|
||||
if fp_iAbsPage < fp_rs.PageCount then
|
||||
fp_sType = "Submit"
|
||||
fp_sLabel = fp_sNextLabel
|
||||
else
|
||||
fp_sType = "Button"
|
||||
fp_sLabel = fp_sDashLabel
|
||||
end if
|
||||
Response.Write "<INPUT TYPE=" & fp_sType & " NAME=""" & fp_sFormKey & """ VALUE=""" & fp_sLabel & """>"
|
||||
if fp_iAbsPage < fp_rs.PageCount then fp_sLabel = fp_sLastLabel
|
||||
Response.Write "<INPUT TYPE=" & fp_sType & " NAME=""" & fp_sFormKey & """ VALUE=""" & fp_sLabel & """>"
|
||||
|
||||
Response.Write " [" & fp_iAbsPage & "/" & fp_rs.PageCount & "]</NOBR>"
|
||||
|
||||
' remember names and values used in query
|
||||
for each fp_sKey in fp_dictInputs
|
||||
fp_sVal = fp_dictInputs.Item(fp_sKey)
|
||||
Response.Write "<INPUT TYPE=HIDDEN NAME=""" & fp_sKey & """ VALUE=""" & fp_sVal & """>"
|
||||
next
|
||||
|
||||
Response.Write "</FORM>"
|
||||
|
||||
if fp_fTableFormat then
|
||||
Response.Write "</TD></TR>"
|
||||
end if
|
||||
end if
|
||||
|
||||
if IsObject(fp_rs) then
|
||||
FP_Close(fp_rs)
|
||||
FP_Close(fp_conn)
|
||||
end if
|
||||
|
||||
set fp_dictInputs = Nothing
|
||||
|
||||
set fp_rs = Nothing
|
||||
set fp_cmd = Nothing
|
||||
set fp_conn = Nothing
|
||||
|
||||
FP_RestoreLocaleForPage
|
||||
|
||||
%>
|
||||
3
templates/pubOry/gecko.css
Normal file
@@ -0,0 +1,3 @@
|
||||
/*
|
||||
Addon defs for gecko browsers, or redefined
|
||||
*/
|
||||
83
templates/pubOry/geoyahoo.js
Normal file
@@ -0,0 +1,83 @@
|
||||
if(!document.getElementById)if(document.all)document.getElementById=document.all;
|
||||
var orynider = new Object();
|
||||
orynider.last = "17.01.2004";
|
||||
orynider.isSlide=true;orynider.nav="";
|
||||
orynider.oldY=0;
|
||||
orynider.slidebutton=(document.getElementById&&window.setInterval ? '<input id="slider" type="checkbox" onclick="CheckSlide();" />Slide' : '');
|
||||
readData();if(orynider.Data[0]!="orynider")orynider.Data=new Array("orynider","","",0);
|
||||
|
||||
window.onunload=writeData;
|
||||
|
||||
document.write(orynider.Data[1]);
|
||||
|
||||
function insertNavigator(l)
|
||||
{
|
||||
if(orynider.nav==""){
|
||||
document.write('<div id="nav"><a href="http://pubory.3x.ro/index.html#1">Home</a>'+orynider.slidebutton+
|
||||
N("l","http://board.acmlm.org/index.php",".")+
|
||||
N("h",0,"SITE")+
|
||||
N("l","http://pubory.3x.ro/contact.html#1","Contact")+
|
||||
N("l","http://pubory.3x.ro/guestb.html#1&from=0&to=100","GuestBook")+
|
||||
N("l","http://pubory.3x.ro/search.html#1","Search")+
|
||||
N("h",0,"INFO-NEWS")+
|
||||
N("l","http://pubory.3x.ro/download.html#1","Download")+
|
||||
N("l","http://pubory.3x.ro/trivory.html","TrivOry")+
|
||||
N("l","http://pubory.3x.ro/wangscript.html","WangScript")+
|
||||
N("l","http://pubory.3x.ro/news/index.html#1","New!")+
|
||||
N("l","http://pubory.3x.ro/news/index.htm#1","Nou!")+
|
||||
N("l","http://orynider.3x.ro/top10/index.htm#1","Top10")+
|
||||
N("h",0,"PUBLIC")+
|
||||
N("l","http://pubory.3x.ro/pub/index.html?lang=en","Pub in En")+
|
||||
N("l","http://pubory.3x.ro/pub/index.htm?lang=ro","Pub <20>n Ro")+
|
||||
N("h",0,"INDEX:")+
|
||||
N("h",0," "+document.lastModified)+
|
||||
orynider.nav+'</div>');
|
||||
}
|
||||
eval(orynider.Data[2]);
|
||||
if(orynider.isSlide)window.setTimeout("slide()",30);
|
||||
document.getElementById("slider").checked=orynider.isSlide;
|
||||
window.setTimeout('document.getElementById("slider").checked=orynider.isSlide;',0);//Mozilla Fix
|
||||
}
|
||||
|
||||
function slide()
|
||||
{
|
||||
if(orynider.isSlide)window.setTimeout("slide()",30);
|
||||
var newY=0;
|
||||
if(window.pageYOffset>0)newY=window.pageYOffset;
|
||||
else if(document.body)
|
||||
if(document.body.scrollTop>0)newY=document.body.scrollTop;
|
||||
else if(document.documentElement)newY=document.documentElement.scrollTop;
|
||||
if(newY!=orynider.oldY)
|
||||
{
|
||||
var percent = .1 * (newY - orynider.oldY);
|
||||
orynider.oldY += (percent > 0) ? Math.ceil(percent) : Math.floor(percent);
|
||||
if(navigator.userAgent.indexOf("Opera")>-1)document.getElementById("nav").style.top=orynider.oldY;
|
||||
else if(document.getElementById)document.getElementById("nav").style.top=orynider.oldY+"px";
|
||||
else document.nav.top = orynider.oldY;
|
||||
}
|
||||
}
|
||||
|
||||
function CheckSlide()
|
||||
{
|
||||
orynider.isSlide=orynider.isSlide==false;
|
||||
if(orynider.isSlide)window.setTimeout("slide()",10);
|
||||
orynider.Data[2]="orynider.isSlide="+orynider.isSlide;
|
||||
writeData();
|
||||
document.getElementById("slider").checked=orynider.isSlide;
|
||||
}
|
||||
|
||||
function N(section,url,text) //NavAdd
|
||||
{
|
||||
if(section=="h")return("<hr />"+text);
|
||||
else return('<br /> <a href="'+url+'">'+text+'</a>');
|
||||
}
|
||||
|
||||
function writeData()
|
||||
{
|
||||
self.name=orynider.Data.join("]joe[");
|
||||
}
|
||||
|
||||
function readData()
|
||||
{
|
||||
orynider.Data=(""+self.name).split("]joe[");
|
||||
}
|
||||
27
templates/pubOry/global_footer.tpl
Normal file
@@ -0,0 +1,27 @@
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
/* We request that you do not remove the following copyright notice. */
|
||||
<!--
|
||||
|
||||
Powered by AutoIndex PHP Script (version {info:version})
|
||||
Copyright (C) 2002-2007 Justin Hagstrom
|
||||
http://autoindex.sourceforge.net
|
||||
|
||||
Page generated in {info:page_time} milliseconds.
|
||||
|
||||
-->
|
||||
|
||||
</body>
|
||||
</table> </td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
27
templates/pubOry/global_footer1.tpl
Normal file
@@ -0,0 +1,27 @@
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
/* We request that you do not remove the following copyright notice. */
|
||||
<!--
|
||||
|
||||
Powered by AutoIndex PHP Script (version {info:version})
|
||||
Copyright (C) 2002-2007 Justin Hagstrom
|
||||
http://autoindex.sourceforge.net
|
||||
|
||||
Page generated in {info:page_time} milliseconds.
|
||||
|
||||
-->
|
||||
|
||||
</body>
|
||||
</table> </td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
300
templates/pubOry/global_header.tpl
Normal file
@@ -0,0 +1,300 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html dir="ltr xmlns="http://www.w3.org/1999/xhtml" xml:lang="{config:language}">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
|
||||
<meta name="title" content="Directory Index" />
|
||||
<meta name="author" content="pubory dot uv dot ro" />
|
||||
<meta name="copyright" content="(c) pubory.uv.ro 2019" />
|
||||
<meta name="keywords" content="pubory dot uv dot ro, documents" />
|
||||
<meta name="description" lang="{config:language}" content="This is the description search engines show when listing your site." />
|
||||
<meta name="category" content="general" />
|
||||
<meta name="robots" content="index,follow" />
|
||||
<meta name="revisit-after" content="7 days" >
|
||||
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="blue" />
|
||||
|
||||
<link rel="top" href="http://pubory.uv.ro/forum/index.php" title="Pagina de start a forumului pubory.uv.ro" />
|
||||
<link rel="search" href="http://pubory.uv.ro/forum/search.php" title="Căutare" />
|
||||
<link rel="help" href="http://pubory.uv.ro/forum/faq.php" title="FAQ" />
|
||||
<link rel="author" href="http://pubory.uv.ro/forum/memberlist.php" title="Membri" />
|
||||
|
||||
<title>{words:index of} {info:dir} @ Beit Dina Bible Arheology and Translation Institute</title>
|
||||
<!-- First load standard template *.css definition, located in the the phpbb template folder -->
|
||||
<link rel="stylesheet" href="{config:template}SwiftBlue.css" type="text/css" >
|
||||
<!-- Then load addon template *.css definition for mx, located in the the portal template folder -->
|
||||
<link rel="stylesheet" href="{config:template}mx_addon.css" type="text/css" >
|
||||
|
||||
<!-- Optionally, redefine some defintions for gecko browsers -->
|
||||
<style type="text/css">
|
||||
<!--
|
||||
/*
|
||||
SwiftBlue Theme for phpBB
|
||||
Created by BitByBit, using subSilver Theme as a base.
|
||||
http://www.bitbybit.f2s.com
|
||||
|
||||
*/
|
||||
|
||||
/* General page style. The scroll bar colours only visible in IE5.5+ */
|
||||
body {
|
||||
background-color: #7EB5E8;
|
||||
padding:0px; scrollbar-face-color: #BADBF5;
|
||||
scrollbar-highlight-color: #E3F0FB;
|
||||
scrollbar-shadow-color: #BADBF5;
|
||||
scrollbar-3dlight-color: #80BBEC;
|
||||
scrollbar-arrow-color: #072978;
|
||||
scrollbar-track-color: #DAECFA;
|
||||
scrollbar-darkshadow-color: #4B8DF1;
|
||||
BACKGROUND: url('{config:template}images/backgroundbluelight.gif');
|
||||
COLOR: #000000;
|
||||
font-style:normal; font-variant:normal; font-weight:normal; font-size:10pt; font-family:Fixedsys, geneva, lucida, lucida grande, arial, helvetica, sans-serif; margin-left:10px; margin-right:10px; margin-top:5px; margin-bottom:10px
|
||||
}
|
||||
|
||||
/* General font families for common tags */
|
||||
font, th, td, p { font-family: Fixedsys, Arial, Helvetica, sans-serif }
|
||||
a:link, a:active, a:visited { color : #072978; }
|
||||
a:hover { text-decoration: underline; color : #041642; }
|
||||
hr { height: 0px; border: solid #80BBEC 0px; border-top-width: 1px;}
|
||||
|
||||
/* This is the border line & background colour round the entire page */
|
||||
.bodyline { background-color: #E3F0FB; border: 1px #4B8DF1 solid; }
|
||||
|
||||
/* This is the outline round the main forum tables */
|
||||
.forumline { background-color: #E3F0FB; border: 2px #006699 solid; }
|
||||
|
||||
/* Main table cell colours and backgrounds */
|
||||
td.row1 { background-color: #DAECFA; }
|
||||
td.row2 { background-color: #BADBF5; }
|
||||
td.row3 { background-color: #80BBEC; }
|
||||
|
||||
/*
|
||||
This is for the table cell above the Topics, Post & Last posts on the http://pubory.uv.ro/forum/index.php page
|
||||
By default this is the fading out gradiated silver background.
|
||||
However, you could replace this with a bitmap specific for each forum
|
||||
*/
|
||||
td.rowpic {
|
||||
background-color: #E3F0FB;
|
||||
background-image: url('{config:template}images/cellpic2.jpg');
|
||||
background-repeat: repeat-y
|
||||
}
|
||||
|
||||
/* Header cells - the blue and silver gradient backgrounds */
|
||||
th {
|
||||
color: #051D41; font-size: 11px; font-weight : bold;
|
||||
background-color: #072978; height: 25px;
|
||||
background-image: url('{config:template}images/cellpic3.gif');
|
||||
}
|
||||
|
||||
td.cat, td.catHead, td.catSides, td.catLeft, td.catRight, td.catBottom {
|
||||
background-image: url('{config:template}images/cellpic1.gif');
|
||||
background-color:#80BBEC; border: medium solid #FFFFFF; height: 28px
|
||||
}
|
||||
|
||||
/*
|
||||
Setting additional nice inner borders for the main table cells.
|
||||
The names indicate which sides the border will be on.
|
||||
Don't worry if you don't understand this, just ignore it :-)
|
||||
*/
|
||||
td.cat, td.catHead, td.catBottom {
|
||||
height: 29px;
|
||||
border-width: 0px 0px 0px 0px;
|
||||
}
|
||||
th.thHead, th.thSides, th.thTop, th.thLeft, th.thRight, th.thBottom, th.thCornerL, th.thCornerR {
|
||||
font-weight: bold; border: #E3F0FB; border-style: solid; height: 28px;
|
||||
}
|
||||
td.row3Right, td.spaceRow {
|
||||
background-color: #80BBEC; border: #FFFFFF; border-style: solid;
|
||||
}
|
||||
|
||||
th.thHead, td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; }
|
||||
th.thSides, td.catSides, td.spaceRow { border-width: 0px 1px 0px 1px; }
|
||||
th.thRight, td.catRight, td.row3Right { border-width: 0px 1px 0px 0px; }
|
||||
th.thLeft, td.catLeft { border-width: 0px 0px 0px 1px; }
|
||||
th.thBottom, td.catBottom { border-width: 0px 1px 1px 1px; }
|
||||
th.thTop { border-width: 1px 0px 0px 0px; }
|
||||
th.thCornerL { border-width: 1px 0px 0px 1px; }
|
||||
th.thCornerR { border-width: 1px 1px 0px 0px; }
|
||||
|
||||
/* The largest text used in the index page title and toptic title etc. */
|
||||
.maintitle {
|
||||
font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Fixedsys, Arial, Helvetica, sans-serif;
|
||||
text-decoration: none; line-height : 120%; color : #000000;
|
||||
}
|
||||
|
||||
/* General text */
|
||||
.gen { font-size : 12px; }
|
||||
.genmed { font-size : 11px; }
|
||||
.gensmall { font-size : 10px; }
|
||||
.gen, .genmed, .gensmall { color : #000000; }
|
||||
a.gen, a.genmed, a.gensmall { color: #072978; text-decoration: none; }
|
||||
a.gen:hover, a.genmed:hover, a.gensmall:hover { color: #041642; text-decoration: underline; }
|
||||
|
||||
/* The register, login, search etc links at the top of the page */
|
||||
.mainmenu { font-size : 11px; color : #000000; font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; }
|
||||
a.mainmenu { text-decoration: none; color : #072978; font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; }
|
||||
a.mainmenu:hover{ text-decoration: underline; color : #041642; font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; }
|
||||
|
||||
/* Forum category titles */
|
||||
.cattitle { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #072978}
|
||||
a.cattitle { text-decoration: none; color : #072978; }
|
||||
a.cattitle:hover{ text-decoration: underline; }
|
||||
|
||||
/* Forum title: Text and link to the forums used in: http://pubory.uv.ro/forum/index.php */
|
||||
.forumlink { font-weight: bold; font-size: 12px; color : #072978; }
|
||||
a.forumlink { text-decoration: none; color : #072978; }
|
||||
a.forumlink:hover{ text-decoration: underline; color : #041642; }
|
||||
|
||||
/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
|
||||
.nav { font-weight: bold; font-size: 11px; color : #000000;}
|
||||
a.nav { text-decoration: none; color : #072978; }
|
||||
a.nav:hover { text-decoration: underline; }
|
||||
|
||||
/* titles for the topics: could specify viewed link colour too */
|
||||
.topictitle, h1, h2 { font-weight: bold; font-size: 11px; color : #000000; }
|
||||
a.topictitle:link { text-decoration: none; color : #072978; }
|
||||
a.topictitle:visited { text-decoration: none; color : #072978; }
|
||||
a.topictitle:hover { text-decoration: underline; color : #041642; }
|
||||
|
||||
/* Name of poster in viewmsg.php and viewtopic.php and other places */
|
||||
.name { font-size : 11px; color : #000000;}
|
||||
|
||||
/* Location, number of posts, post date etc */
|
||||
.postdetails { font-size : 10px; color : #000000; }
|
||||
|
||||
/* The content of the posts (body of text) */
|
||||
.postbody { font-size : 12px; line-height: 18px}
|
||||
a.postlink:link { text-decoration: none; color : #072978 }
|
||||
a.postlink:visited { text-decoration: none; color : #072978; }
|
||||
a.postlink:hover { text-decoration: underline; color : #041642}
|
||||
|
||||
/* Quote & Code blocks */
|
||||
.code {
|
||||
font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
|
||||
background-color: #FAFAFA; border: #80BBEC; border-style: solid;
|
||||
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
|
||||
}
|
||||
|
||||
.quote {
|
||||
font-family: Fixedsys, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
|
||||
background-color: #FAFAFA; border: #80BBEC; border-style: solid;
|
||||
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
|
||||
}
|
||||
|
||||
/* Copyright and bottom info */
|
||||
.copyright { font-size: 10px; font-family: Fixedsys, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;}
|
||||
a.copyright { color: #444444; text-decoration: none;}
|
||||
a.copyright:hover { color: #000000; text-decoration: underline;}
|
||||
|
||||
/* Form elements */
|
||||
input, textarea, select {
|
||||
color : #000000;
|
||||
font: normal 11px Fixedsys, Arial, Helvetica, sans-serif;
|
||||
border-color : #000000;
|
||||
}
|
||||
|
||||
/* The text input fields background colour */
|
||||
input.post, textarea.post, select {
|
||||
background-color : #E3F0FB;
|
||||
}
|
||||
|
||||
input { text-indent : 2px; }
|
||||
|
||||
/* The buttons used for bbCode styling in message post */
|
||||
input.button {
|
||||
background-color : #DAECFA;
|
||||
color : #000000;
|
||||
font-size: 11px; font-family: Fixedsys, Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
/* The main submit button option */
|
||||
input.mainoption {
|
||||
background-color : #FAFAFA;
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
/* None-bold submit button */
|
||||
input.liteoption {
|
||||
background-color : #FAFAFA;
|
||||
font-weight : normal;
|
||||
}
|
||||
|
||||
/* This is the line in the posting page which shows the rollover
|
||||
help line. This is actually a text box, but if set to be the same
|
||||
colour as the background no one will know ;)
|
||||
*/
|
||||
.helpline { background-color: #BADBF5; border-style: none; }
|
||||
|
||||
@media screen and (min-width:435px){
|
||||
#desktoptitle{width:300px;height:auto;}
|
||||
}
|
||||
|
||||
/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
|
||||
@import url("{config:template}formIE.css");
|
||||
-->
|
||||
</style>
|
||||
|
||||
<script language="javascript" type="text/javascript"><!--
|
||||
|
||||
function newImage(arg) {
|
||||
if (document.images) {
|
||||
rslt = new Image();
|
||||
rslt.src = arg;
|
||||
return rslt;
|
||||
}
|
||||
}
|
||||
|
||||
function changeImages() {
|
||||
if (document.images ) {
|
||||
for (var i=0; i<changeImages.arguments.length; i+=2) {
|
||||
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function checkSearch()
|
||||
{
|
||||
if (document.search_block.search_engine.value == 'google')
|
||||
{
|
||||
window.open('http://www.google.com/search?q=' + document.search_block.search_keywords.value, '_google', '');
|
||||
return false;
|
||||
}
|
||||
else if (document.search_block.search_engine.value == 'site')
|
||||
{
|
||||
window.open('http://pubory.uv.ro/forum/index.php?page=5&mode=results&search_terms=all&search_keywords=' + document.search_block.search_keywords.value, '_self', '');
|
||||
return false;
|
||||
}
|
||||
else if (document.search_block.search_engine.value == 'kb')
|
||||
{
|
||||
window.open('http://pubory.uv.ro/forum/index.php?page=&mode=search&search_terms=all&search_keywords=' + document.search_block.search_keywords.value, '_self', '');
|
||||
return false;
|
||||
}
|
||||
else if (document.search_block.search_engine.value == 'pafiledb')
|
||||
{
|
||||
window.open('http://pubory.uv.ro/forum/index.php?page=&action=search&search_terms=all&search_keywords=' + document.search_block.search_keywords.value, '_self', '');
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
function full_img(url) {
|
||||
var url = url;
|
||||
window.open(url,'','scrollbars=1,toolbar=0,resizable=1,menubar=0,directories=0,status=0, width=img.width, height=img.height');
|
||||
return;
|
||||
}
|
||||
|
||||
// --></script>
|
||||
<script language="javascript" type="text/javascript" src="{config:template}rollout.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{config:template}rollout_main.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{config:template}dynifs.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="autoindex_body" bgcolor="#7EB5E8" text="#000000" link="#072978" vlink="#072978">
|
||||
308
templates/pubOry/global_header1.tpl
Normal file
@@ -0,0 +1,308 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html dir="ltr xmlns="http://www.w3.org/1999/xhtml" xml:lang="{config:language}">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<meta name="title" content="Your site's title" />
|
||||
<meta name="author" content="Your name or your company name" />
|
||||
<meta name="copyright" content="Add some copyright notice here" />
|
||||
<meta name="keywords" content="Add all your keywords in here (separate each keyword by a comma and space)" />
|
||||
<meta name="description" lang="{config:language}" content="This is the description search engines show when listing your site." />
|
||||
<meta name="category" content="general" />
|
||||
<meta name="robots" content="index,follow" />
|
||||
<meta name="revisit-after" content="7 days" >
|
||||
|
||||
<link rel="top" href="http://bibliuta.lx.ro/forum/index.php" title="Pagina de start a forumului Bibliuta.Lx.Ro" />
|
||||
<link rel="search" href="http://bibliuta.lx.ro/forum/search.php" title="C<>utare" />
|
||||
<link rel="help" href="http://bibliuta.lx.ro/forum/faq.php" title="FAQ" />
|
||||
<link rel="author" href="http://bibliuta.lx.ro/forum/memberlist.php" title="Membri" />
|
||||
|
||||
<title>{words:index of} {info:dir} @ #Bibliuta</title>
|
||||
<!-- First load standard template *.css definition, located in the the phpbb template folder -->
|
||||
<link rel="stylesheet" href="{config:template}SwiftBlue.css" type="text/css" >
|
||||
<!-- Then load addon template *.css definition for mx, located in the the portal template folder -->
|
||||
<link rel="stylesheet" href="{config:template}mx_addon.css" type="text/css" >
|
||||
|
||||
<!-- Optionally, redefine some defintions for gecko browsers -->
|
||||
<style type="text/css">
|
||||
<!--
|
||||
/*
|
||||
SwiftBlue Theme for phpBB
|
||||
Created by BitByBit, using subSilver Theme as a base.
|
||||
http://www.bitbybit.f2s.com
|
||||
|
||||
*/
|
||||
|
||||
/* General page style. The scroll bar colours only visible in IE5.5+ */
|
||||
body {
|
||||
background-color: #7EB5E8;
|
||||
padding:0px; scrollbar-face-color: #BADBF5;
|
||||
scrollbar-highlight-color: #E3F0FB;
|
||||
scrollbar-shadow-color: #BADBF5;
|
||||
scrollbar-3dlight-color: #80BBEC;
|
||||
scrollbar-arrow-color: #072978;
|
||||
scrollbar-track-color: #DAECFA;
|
||||
scrollbar-darkshadow-color: #4B8DF1;
|
||||
BACKGROUND: url('{config:template}images/images/backgroundbluelight.gif');
|
||||
COLOR: #000000;
|
||||
font-style:normal; font-variant:normal; font-weight:normal; font-size:10pt; font-family:Fixedsys, geneva, lucida, lucida grande, arial, helvetica, sans-serif; margin-left:10px; margin-right:10px; margin-top:5px; margin-bottom:10px
|
||||
}
|
||||
|
||||
/* General font families for common tags */
|
||||
font, th, td, p { font-family: Fixedsys, Arial, Helvetica, sans-serif }
|
||||
a:link, a:active, a:visited { color : #072978; }
|
||||
a:hover { text-decoration: underline; color : #041642; }
|
||||
hr { height: 0px; border: solid #80BBEC 0px; border-top-width: 1px;}
|
||||
|
||||
/* This is the border line & background colour round the entire page */
|
||||
.bodyline { background-color: #E3F0FB; border: 1px #4B8DF1 solid; }
|
||||
|
||||
/* This is the outline round the main forum tables */
|
||||
.forumline { background-color: #E3F0FB; border: 2px #006699 solid; }
|
||||
|
||||
/* Main table cell colours and backgrounds */
|
||||
td.row1 { background-color: #DAECFA; }
|
||||
td.row2 { background-color: #BADBF5; }
|
||||
td.row3 { background-color: #80BBEC; }
|
||||
|
||||
/*
|
||||
This is for the table cell above the Topics, Post & Last posts on the http://bibliuta.lx.ro/forum/index.php page
|
||||
By default this is the fading out gradiated silver background.
|
||||
However, you could replace this with a bitmap specific for each forum
|
||||
*/
|
||||
td.rowpic {
|
||||
background-color: #E3F0FB;
|
||||
background-image: url('{config:template}images/cellpic2.jpg');
|
||||
background-repeat: repeat-y
|
||||
}
|
||||
|
||||
/* Header cells - the blue and silver gradient backgrounds */
|
||||
th {
|
||||
color: #051D41; font-size: 11px; font-weight : bold;
|
||||
background-color: #072978; height: 25px;
|
||||
background-image: url('{config:template}images/cellpic3.gif');
|
||||
}
|
||||
|
||||
td.cat, td.catHead, td.catSides, td.catLeft, td.catRight, td.catBottom {
|
||||
background-image: url('{config:template}images/cellpic1.gif');
|
||||
background-color:#80BBEC; border: medium solid #FFFFFF; height: 28px
|
||||
}
|
||||
|
||||
/*
|
||||
Setting additional nice inner borders for the main table cells.
|
||||
The names indicate which sides the border will be on.
|
||||
Don't worry if you don't understand this, just ignore it :-)
|
||||
*/
|
||||
td.cat, td.catHead, td.catBottom {
|
||||
height: 29px;
|
||||
border-width: 0px 0px 0px 0px;
|
||||
}
|
||||
th.thHead, th.thSides, th.thTop, th.thLeft, th.thRight, th.thBottom, th.thCornerL, th.thCornerR {
|
||||
font-weight: bold; border: #E3F0FB; border-style: solid; height: 28px;
|
||||
}
|
||||
td.row3Right, td.spaceRow {
|
||||
background-color: #80BBEC; border: #FFFFFF; border-style: solid;
|
||||
}
|
||||
|
||||
th.thHead, td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; }
|
||||
th.thSides, td.catSides, td.spaceRow { border-width: 0px 1px 0px 1px; }
|
||||
th.thRight, td.catRight, td.row3Right { border-width: 0px 1px 0px 0px; }
|
||||
th.thLeft, td.catLeft { border-width: 0px 0px 0px 1px; }
|
||||
th.thBottom, td.catBottom { border-width: 0px 1px 1px 1px; }
|
||||
th.thTop { border-width: 1px 0px 0px 0px; }
|
||||
th.thCornerL { border-width: 1px 0px 0px 1px; }
|
||||
th.thCornerR { border-width: 1px 1px 0px 0px; }
|
||||
|
||||
/* The largest text used in the index page title and toptic title etc. */
|
||||
.maintitle {
|
||||
font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Fixedsys, Arial, Helvetica, sans-serif;
|
||||
text-decoration: none; line-height : 120%; color : #000000;
|
||||
}
|
||||
|
||||
/* General text */
|
||||
.gen { font-size : 12px; }
|
||||
.genmed { font-size : 11px; }
|
||||
.gensmall { font-size : 10px; }
|
||||
.gen, .genmed, .gensmall { color : #000000; }
|
||||
a.gen, a.genmed, a.gensmall { color: #072978; text-decoration: none; }
|
||||
a.gen:hover, a.genmed:hover, a.gensmall:hover { color: #041642; text-decoration: underline; }
|
||||
|
||||
/* The register, login, search etc links at the top of the page */
|
||||
.mainmenu { font-size : 11px; color : #000000; font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; }
|
||||
a.mainmenu { text-decoration: none; color : #072978; font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; }
|
||||
a.mainmenu:hover{ text-decoration: underline; color : #041642; font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; }
|
||||
|
||||
/* Forum category titles */
|
||||
.cattitle { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #072978}
|
||||
a.cattitle { text-decoration: none; color : #072978; }
|
||||
a.cattitle:hover{ text-decoration: underline; }
|
||||
|
||||
/* Forum title: Text and link to the forums used in: http://bibliuta.lx.ro/forum/index.php */
|
||||
.forumlink { font-weight: bold; font-size: 12px; color : #072978; }
|
||||
a.forumlink { text-decoration: none; color : #072978; }
|
||||
a.forumlink:hover{ text-decoration: underline; color : #041642; }
|
||||
|
||||
/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
|
||||
.nav { font-weight: bold; font-size: 11px; color : #000000;}
|
||||
a.nav { text-decoration: none; color : #072978; }
|
||||
a.nav:hover { text-decoration: underline; }
|
||||
|
||||
/* titles for the topics: could specify viewed link colour too */
|
||||
.topictitle, h1, h2 { font-weight: bold; font-size: 11px; color : #000000; }
|
||||
a.topictitle:link { text-decoration: none; color : #072978; }
|
||||
a.topictitle:visited { text-decoration: none; color : #072978; }
|
||||
a.topictitle:hover { text-decoration: underline; color : #041642; }
|
||||
|
||||
/* Name of poster in viewmsg.php and viewtopic.php and other places */
|
||||
.name { font-size : 11px; color : #000000;}
|
||||
|
||||
/* Location, number of posts, post date etc */
|
||||
.postdetails { font-size : 10px; color : #000000; }
|
||||
|
||||
/* The content of the posts (body of text) */
|
||||
.postbody { font-size : 12px; line-height: 18px}
|
||||
a.postlink:link { text-decoration: none; color : #072978 }
|
||||
a.postlink:visited { text-decoration: none; color : #072978; }
|
||||
a.postlink:hover { text-decoration: underline; color : #041642}
|
||||
|
||||
/* Quote & Code blocks */
|
||||
.code {
|
||||
font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
|
||||
background-color: #FAFAFA; border: #80BBEC; border-style: solid;
|
||||
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
|
||||
}
|
||||
|
||||
.quote {
|
||||
font-family: Fixedsys, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
|
||||
background-color: #FAFAFA; border: #80BBEC; border-style: solid;
|
||||
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
|
||||
}
|
||||
|
||||
/* Copyright and bottom info */
|
||||
.copyright { font-size: 10px; font-family: Fixedsys, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;}
|
||||
a.copyright { color: #444444; text-decoration: none;}
|
||||
a.copyright:hover { color: #000000; text-decoration: underline;}
|
||||
|
||||
/* Form elements */
|
||||
input, textarea, select {
|
||||
color : #000000;
|
||||
font: normal 11px Fixedsys, Arial, Helvetica, sans-serif;
|
||||
border-color : #000000;
|
||||
}
|
||||
|
||||
/* The text input fields background colour */
|
||||
input.post, textarea.post, select {
|
||||
background-color : #E3F0FB;
|
||||
}
|
||||
|
||||
input { text-indent : 2px; }
|
||||
|
||||
/* The buttons used for bbCode styling in message post */
|
||||
input.button {
|
||||
background-color : #DAECFA;
|
||||
color : #000000;
|
||||
font-size: 11px; font-family: Fixedsys, Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
/* The main submit button option */
|
||||
input.mainoption {
|
||||
background-color : #FAFAFA;
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
/* None-bold submit button */
|
||||
input.liteoption {
|
||||
background-color : #FAFAFA;
|
||||
font-weight : normal;
|
||||
}
|
||||
|
||||
/* This is the line in the posting page which shows the rollover
|
||||
help line. This is actually a text box, but if set to be the same
|
||||
colour as the background no one will know ;)
|
||||
*/
|
||||
.helpline { background-color: #BADBF5; border-style: none; }
|
||||
|
||||
/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
|
||||
@import url("{config:template}formIE.css");
|
||||
-->
|
||||
</style>
|
||||
|
||||
<script language="javascript" type="text/javascript"><!--
|
||||
|
||||
function newImage(arg) {
|
||||
if (document.images) {
|
||||
rslt = new Image();
|
||||
rslt.src = arg;
|
||||
return rslt;
|
||||
}
|
||||
}
|
||||
|
||||
function changeImages() {
|
||||
if (document.images ) {
|
||||
for (var i=0; i<changeImages.arguments.length; i+=2) {
|
||||
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function set_mx_cookie(in_listID, status)
|
||||
{
|
||||
var expDate = new Date();
|
||||
// expires in 1 year
|
||||
expDate.setTime(expDate.getTime() + 31536000000);
|
||||
document.cookie = in_listID + "=" + escape(status) + "; expires=" + expDate.toGMTString();
|
||||
}
|
||||
|
||||
function set_phpbb_cookie(cookieName, cookieValue, lifeTime, path, domain, isSecure)
|
||||
{
|
||||
var expDate = new Date();
|
||||
// expires in 1 year
|
||||
expDate.setTime(expDate.getTime() + 31536000000);
|
||||
|
||||
document.cookie = escape( cookieName ) + "=" + escape( cookieValue ) +
|
||||
";expires=" + expDate.toGMTString() +
|
||||
( path ? ";path=" + path : "") + ( domain ? ";domain=" + domain : "") +
|
||||
( isSecure == 1 ? ";secure" : "");
|
||||
}
|
||||
|
||||
function checkSearch()
|
||||
{
|
||||
if (document.search_block.search_engine.value == 'google')
|
||||
{
|
||||
window.open('http://www.google.com/search?q=' + document.search_block.search_keywords.value, '_google', '');
|
||||
return false;
|
||||
}
|
||||
else if (document.search_block.search_engine.value == 'site')
|
||||
{
|
||||
window.open('http://bibliuta.lx.ro/forum/index.php?page=5&mode=results&search_terms=all&search_keywords=' + document.search_block.search_keywords.value, '_self', '');
|
||||
return false;
|
||||
}
|
||||
else if (document.search_block.search_engine.value == 'kb')
|
||||
{
|
||||
window.open('http://bibliuta.lx.ro/forum/index.php?page=&mode=search&search_terms=all&search_keywords=' + document.search_block.search_keywords.value, '_self', '');
|
||||
return false;
|
||||
}
|
||||
else if (document.search_block.search_engine.value == 'pafiledb')
|
||||
{
|
||||
window.open('http://bibliuta.lx.ro/forum/index.php?page=&action=search&search_terms=all&search_keywords=' + document.search_block.search_keywords.value, '_self', '');
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
function full_img(url) {
|
||||
var url = url;
|
||||
window.open(url,'','scrollbars=1,toolbar=0,resizable=1,menubar=0,directories=0,status=0, width=img.width, height=img.height');
|
||||
return;
|
||||
}
|
||||
|
||||
// --></script>
|
||||
<script language="javascript" type="text/javascript" src="{config:template}rollout.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{config:template}rollout_main.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{config:template}dynifs.js"></script>
|
||||
</head>
|
||||
<body class="autoindex_body" bgcolor="#7EB5E8" text="#000000" link="#072978" vlink="#072978">
|
||||
303
templates/pubOry/global_header2.tpl
Normal file
@@ -0,0 +1,303 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html dir="ltr xmlns="http://www.w3.org/1999/xhtml" xml:lang="{config:language}">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<meta name="title" content="Your site's title" />
|
||||
<meta name="author" content="Your name or your company name" />
|
||||
<meta name="copyright" content="Add some copyright notice here" />
|
||||
<meta name="keywords" content="Add all your keywords in here (separate each keyword by a comma and space)" />
|
||||
<meta name="description" lang="{config:language}" content="This is the description search engines show when listing your site." />
|
||||
<meta name="category" content="general" />
|
||||
<meta name="robots" content="index,follow" />
|
||||
<meta name="revisit-after" content="7 days" >
|
||||
|
||||
<title>{words:index of} {info:dir} @ #</title>
|
||||
<!-- First load standard template *.css definition, located in the the phpbb template folder -->
|
||||
<link rel="stylesheet" href="{config:template}SwiftBlue.css" type="text/css" >
|
||||
<!-- Then load addon template *.css definition for mx, located in the the portal template folder -->
|
||||
<link rel="stylesheet" href="{config:template}alternate.css" type="text/css" >
|
||||
|
||||
<!-- Optionally, redefine some defintions for gecko browsers -->
|
||||
<style type="text/css">
|
||||
<!--
|
||||
/*
|
||||
SwiftBlue Theme for phpBB
|
||||
Created by BitByBit, using subSilver Theme as a base.
|
||||
http://www.bitbybit.f2s.com
|
||||
|
||||
*/
|
||||
|
||||
/* General page style. The scroll bar colours only visible in IE5.5+ */
|
||||
body {
|
||||
background-color: #7EB5E8;
|
||||
padding:0px; scrollbar-face-color: #BADBF5;
|
||||
scrollbar-highlight-color: #E3F0FB;
|
||||
scrollbar-shadow-color: #BADBF5;
|
||||
scrollbar-3dlight-color: #80BBEC;
|
||||
scrollbar-arrow-color: #072978;
|
||||
scrollbar-track-color: #DAECFA;
|
||||
scrollbar-darkshadow-color: #4B8DF1;
|
||||
BACKGROUND: url('{config:template}images/images/backgroundbluelight.gif');
|
||||
COLOR: #000000;
|
||||
font-style:normal; font-variant:normal; font-weight:normal; font-size:10pt; font-family:Fixedsys, geneva, lucida, lucida grande, arial, helvetica, sans-serif; margin-left:10px; margin-right:10px; margin-top:5px; margin-bottom:10px
|
||||
}
|
||||
|
||||
/* General font families for common tags */
|
||||
font, th, td, p { font-family: Fixedsys, Arial, Helvetica, sans-serif }
|
||||
a:link, a:active, a:visited { color : #072978; }
|
||||
a:hover { text-decoration: underline; color : #041642; }
|
||||
hr { height: 0px; border: solid #80BBEC 0px; border-top-width: 1px;}
|
||||
|
||||
/* This is the border line & background colour round the entire page */
|
||||
.bodyline { background-color: #E3F0FB; border: 1px #4B8DF1 solid; }
|
||||
|
||||
/* This is the outline round the main forum tables */
|
||||
.forumline { background-color: #E3F0FB; border: 2px #006699 solid; }
|
||||
|
||||
/* Main table cell colours and backgrounds */
|
||||
td.row1 { background-color: #DAECFA; }
|
||||
td.row2 { background-color: #BADBF5; }
|
||||
td.row3 { background-color: #80BBEC; }
|
||||
|
||||
/*
|
||||
This is for the table cell above the Topics, Post & Last posts on the http://.lx.ro/forum/index.php page
|
||||
By default this is the fading out gradiated silver background.
|
||||
However, you could replace this with a bitmap specific for each forum
|
||||
*/
|
||||
td.rowpic {
|
||||
background-color: #E3F0FB;
|
||||
background-image: url('{config:template}images/cellpic2.jpg');
|
||||
background-repeat: repeat-y
|
||||
}
|
||||
|
||||
/* Header cells - the blue and silver gradient backgrounds */
|
||||
th {
|
||||
color: #051D41; font-size: 11px; font-weight : bold;
|
||||
background-color: #072978; height: 25px;
|
||||
background-image: url('{config:template}images/cellpic3.gif');
|
||||
}
|
||||
|
||||
td.cat, td.catHead, td.catSides, td.catLeft, td.catRight, td.catBottom {
|
||||
background-image: url('{config:template}images/cellpic1.gif');
|
||||
background-color:#80BBEC; border: medium solid #FFFFFF; height: 28px
|
||||
}
|
||||
|
||||
/*
|
||||
Setting additional nice inner borders for the main table cells.
|
||||
The names indicate which sides the border will be on.
|
||||
Don't worry if you don't understand this, just ignore it :-)
|
||||
*/
|
||||
td.cat, td.catHead, td.catBottom {
|
||||
height: 29px;
|
||||
border-width: 0px 0px 0px 0px;
|
||||
}
|
||||
th.thHead, th.thSides, th.thTop, th.thLeft, th.thRight, th.thBottom, th.thCornerL, th.thCornerR {
|
||||
font-weight: bold; border: #E3F0FB; border-style: solid; height: 28px;
|
||||
}
|
||||
td.row3Right, td.spaceRow {
|
||||
background-color: #80BBEC; border: #FFFFFF; border-style: solid;
|
||||
}
|
||||
|
||||
th.thHead, td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; }
|
||||
th.thSides, td.catSides, td.spaceRow { border-width: 0px 1px 0px 1px; }
|
||||
th.thRight, td.catRight, td.row3Right { border-width: 0px 1px 0px 0px; }
|
||||
th.thLeft, td.catLeft { border-width: 0px 0px 0px 1px; }
|
||||
th.thBottom, td.catBottom { border-width: 0px 1px 1px 1px; }
|
||||
th.thTop { border-width: 1px 0px 0px 0px; }
|
||||
th.thCornerL { border-width: 1px 0px 0px 1px; }
|
||||
th.thCornerR { border-width: 1px 1px 0px 0px; }
|
||||
|
||||
/* The largest text used in the index page title and toptic title etc. */
|
||||
.maintitle {
|
||||
font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Fixedsys, Arial, Helvetica, sans-serif;
|
||||
text-decoration: none; line-height : 120%; color : #000000;
|
||||
}
|
||||
|
||||
/* General text */
|
||||
.gen { font-size : 12px; }
|
||||
.genmed { font-size : 11px; }
|
||||
.gensmall { font-size : 10px; }
|
||||
.gen, .genmed, .gensmall { color : #000000; }
|
||||
a.gen, a.genmed, a.gensmall { color: #072978; text-decoration: none; }
|
||||
a.gen:hover, a.genmed:hover, a.gensmall:hover { color: #041642; text-decoration: underline; }
|
||||
|
||||
/* The register, login, search etc links at the top of the page */
|
||||
.mainmenu { font-size : 11px; color : #000000; font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; }
|
||||
a.mainmenu { text-decoration: none; color : #072978; font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; }
|
||||
a.mainmenu:hover{ text-decoration: underline; color : #041642; font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; }
|
||||
|
||||
/* Forum category titles */
|
||||
.cattitle { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #072978}
|
||||
a.cattitle { text-decoration: none; color : #072978; }
|
||||
a.cattitle:hover{ text-decoration: underline; }
|
||||
|
||||
/* Forum title: Text and link to the forums used in: http://.lx.ro/forum/index.php */
|
||||
.forumlink { font-weight: bold; font-size: 12px; color : #072978; }
|
||||
a.forumlink { text-decoration: none; color : #072978; }
|
||||
a.forumlink:hover{ text-decoration: underline; color : #041642; }
|
||||
|
||||
/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
|
||||
.nav { font-weight: bold; font-size: 11px; color : #000000;}
|
||||
a.nav { text-decoration: none; color : #072978; }
|
||||
a.nav:hover { text-decoration: underline; }
|
||||
|
||||
/* titles for the topics: could specify viewed link colour too */
|
||||
.topictitle, h1, h2 { font-weight: bold; font-size: 11px; color : #000000; }
|
||||
a.topictitle:link { text-decoration: none; color : #072978; }
|
||||
a.topictitle:visited { text-decoration: none; color : #072978; }
|
||||
a.topictitle:hover { text-decoration: underline; color : #041642; }
|
||||
|
||||
/* Name of poster in viewmsg.php and viewtopic.php and other places */
|
||||
.name { font-size : 11px; color : #000000;}
|
||||
|
||||
/* Location, number of posts, post date etc */
|
||||
.postdetails { font-size : 10px; color : #000000; }
|
||||
|
||||
/* The content of the posts (body of text) */
|
||||
.postbody { font-size : 12px; line-height: 18px}
|
||||
a.postlink:link { text-decoration: none; color : #072978 }
|
||||
a.postlink:visited { text-decoration: none; color : #072978; }
|
||||
a.postlink:hover { text-decoration: underline; color : #041642}
|
||||
|
||||
/* Quote & Code blocks */
|
||||
.code {
|
||||
font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
|
||||
background-color: #FAFAFA; border: #80BBEC; border-style: solid;
|
||||
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
|
||||
}
|
||||
|
||||
.quote {
|
||||
font-family: Fixedsys, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
|
||||
background-color: #FAFAFA; border: #80BBEC; border-style: solid;
|
||||
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
|
||||
}
|
||||
|
||||
/* Copyright and bottom info */
|
||||
.copyright { font-size: 10px; font-family: Fixedsys, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;}
|
||||
a.copyright { color: #444444; text-decoration: none;}
|
||||
a.copyright:hover { color: #000000; text-decoration: underline;}
|
||||
|
||||
/* Form elements */
|
||||
input, textarea, select {
|
||||
color : #000000;
|
||||
font: normal 11px Fixedsys, Arial, Helvetica, sans-serif;
|
||||
border-color : #000000;
|
||||
}
|
||||
|
||||
/* The text input fields background colour */
|
||||
input.post, textarea.post, select {
|
||||
background-color : #E3F0FB;
|
||||
}
|
||||
|
||||
input { text-indent : 2px; }
|
||||
|
||||
/* The buttons used for bbCode styling in message post */
|
||||
input.button {
|
||||
background-color : #DAECFA;
|
||||
color : #000000;
|
||||
font-size: 11px; font-family: Fixedsys, Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
/* The main submit button option */
|
||||
input.mainoption {
|
||||
background-color : #FAFAFA;
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
/* None-bold submit button */
|
||||
input.liteoption {
|
||||
background-color : #FAFAFA;
|
||||
font-weight : normal;
|
||||
}
|
||||
|
||||
/* This is the line in the posting page which shows the rollover
|
||||
help line. This is actually a text box, but if set to be the same
|
||||
colour as the background no one will know ;)
|
||||
*/
|
||||
.helpline { background-color: #BADBF5; border-style: none; }
|
||||
|
||||
/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
|
||||
@import url("{config:template}formIE.css");
|
||||
-->
|
||||
</style>
|
||||
|
||||
<script language="javascript" type="text/javascript"><!--
|
||||
|
||||
function newImage(arg) {
|
||||
if (document.images) {
|
||||
rslt = new Image();
|
||||
rslt.src = arg;
|
||||
return rslt;
|
||||
}
|
||||
}
|
||||
|
||||
function changeImages() {
|
||||
if (document.images ) {
|
||||
for (var i=0; i<changeImages.arguments.length; i+=2) {
|
||||
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function set_mx_cookie(in_listID, status)
|
||||
{
|
||||
var expDate = new Date();
|
||||
// expires in 1 year
|
||||
expDate.setTime(expDate.getTime() + 31536000000);
|
||||
document.cookie = in_listID + "=" + escape(status) + "; expires=" + expDate.toGMTString();
|
||||
}
|
||||
|
||||
function set_phpbb_cookie(cookieName, cookieValue, lifeTime, path, domain, isSecure)
|
||||
{
|
||||
var expDate = new Date();
|
||||
// expires in 1 year
|
||||
expDate.setTime(expDate.getTime() + 31536000000);
|
||||
|
||||
document.cookie = escape( cookieName ) + "=" + escape( cookieValue ) +
|
||||
";expires=" + expDate.toGMTString() +
|
||||
( path ? ";path=" + path : "") + ( domain ? ";domain=" + domain : "") +
|
||||
( isSecure == 1 ? ";secure" : "");
|
||||
}
|
||||
|
||||
function checkSearch()
|
||||
{
|
||||
if (document.search_block.search_engine.value == 'google')
|
||||
{
|
||||
window.open('http://www.google.com/search?q=' + document.search_block.search_keywords.value, '_google', '');
|
||||
return false;
|
||||
}
|
||||
else if (document.search_block.search_engine.value == 'site')
|
||||
{
|
||||
window.open('http://.lx.ro/forum/index.php?page=5&mode=results&search_terms=all&search_keywords=' + document.search_block.search_keywords.value, '_self', '');
|
||||
return false;
|
||||
}
|
||||
else if (document.search_block.search_engine.value == 'kb')
|
||||
{
|
||||
window.open('http://.lx.ro/forum/index.php?page=&mode=search&search_terms=all&search_keywords=' + document.search_block.search_keywords.value, '_self', '');
|
||||
return false;
|
||||
}
|
||||
else if (document.search_block.search_engine.value == 'pafiledb')
|
||||
{
|
||||
window.open('http://.lx.ro/forum/index.php?page=&action=search&search_terms=all&search_keywords=' + document.search_block.search_keywords.value, '_self', '');
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
function full_img(url) {
|
||||
var url = url;
|
||||
window.open(url,'','scrollbars=1,toolbar=0,resizable=1,menubar=0,directories=0,status=0, width=img.width, height=img.height');
|
||||
return;
|
||||
}
|
||||
|
||||
// --></script>
|
||||
<script language="javascript" type="text/javascript" src="{config:template}rollout.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{config:template}rollout_main.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{config:template}dynifs.js"></script>
|
||||
</head>
|
||||
<body class="autoindex_body" bgcolor="#7EB5E8" text="#000000" link="#072978" vlink="#072978">
|
||||
729
templates/pubOry/gsearch.css
Normal file
@@ -0,0 +1,729 @@
|
||||
/** Copyright 2005 Google Inc. All rights reserved. */
|
||||
|
||||
/* the GSearchControl CSS Classes
|
||||
* .gsc-control : the primary class of the control
|
||||
*/
|
||||
.gsc-control {
|
||||
width: 600px;
|
||||
}
|
||||
|
||||
.gsc-control div {
|
||||
position: static;
|
||||
}
|
||||
|
||||
/* control inputs
|
||||
* .gsc-search-box : the container that hosts the text input area
|
||||
* .gsc-input : the text input area
|
||||
* .gsc-keeper : the save link below savable results
|
||||
*/
|
||||
form.gsc-search-box {
|
||||
font-size: 13px;
|
||||
margin-top : 0px;
|
||||
margin-right : 0px;
|
||||
margin-bottom : 4px;
|
||||
margin-left : 0px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/*
|
||||
* This table contains the input element as well as the search button
|
||||
* Note that the search button column is fixed width, designed to hold the
|
||||
* button div's background image
|
||||
*/
|
||||
table.gsc-search-box {
|
||||
border-style : none;
|
||||
border-width : 0px;
|
||||
border-spacing : 0px 0px;
|
||||
width : 100%;
|
||||
margin-bottom : 2px;
|
||||
}
|
||||
|
||||
table.gsc-search-box td {
|
||||
vertical-align : middle;
|
||||
}
|
||||
|
||||
td.gsc-search-button {
|
||||
width : 1%;
|
||||
}
|
||||
|
||||
td.gsc-clear-button {
|
||||
width : 14px;
|
||||
}
|
||||
|
||||
table.gsc-branding {
|
||||
border-style : none;
|
||||
border-width : 0px;
|
||||
border-spacing : 0px 0px;
|
||||
width : 100%;
|
||||
}
|
||||
|
||||
td.gsc-branding-text {
|
||||
vertical-align : top;
|
||||
}
|
||||
|
||||
td.gsc-branding-text div.gsc-branding-text {
|
||||
padding-bottom : 2px;
|
||||
text-align : right;
|
||||
color : #676767;
|
||||
font-size : 11px;
|
||||
margin-right : 2px;
|
||||
}
|
||||
|
||||
td.gsc-branding-img-noclear {
|
||||
width : 51px;
|
||||
vertical-align : bottom;
|
||||
}
|
||||
|
||||
td.gsc-branding-img {
|
||||
width : 65px;
|
||||
vertical-align : bottom;
|
||||
}
|
||||
|
||||
table.gsc-branding-vertical td.gsc-branding-text div.gsc-branding-text {
|
||||
margin-right : 0px;
|
||||
text-align : center;
|
||||
}
|
||||
|
||||
table.gsc-branding-vertical td.gsc-branding-img-noclear {
|
||||
text-align : center;
|
||||
}
|
||||
|
||||
div.gsc-branding-img,
|
||||
div.gsc-branding-img-noclear,
|
||||
img.gsc-branding-img,
|
||||
img.gsc-branding-img-noclear {
|
||||
padding-top : 1px;
|
||||
}
|
||||
|
||||
input.gsc-search-button {
|
||||
margin-left : 4px;
|
||||
}
|
||||
|
||||
div.gsc-clear-button {
|
||||
display : inline;
|
||||
text-align : right;
|
||||
margin-left : 4px;
|
||||
margin-right : 4px;
|
||||
padding-left : 10px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-image: url('http://www.google.com/uds/css/clear.gif');
|
||||
cursor : pointer
|
||||
}
|
||||
|
||||
/*
|
||||
* Given that this is sitting in a variable width tabel cell, the idea is
|
||||
* for it to consume the entire cell. The adjacent cell contains the search
|
||||
* button and that is a fixed width cell.
|
||||
*/
|
||||
input.gsc-input {
|
||||
padding-left : 2px;
|
||||
border-style : solid;
|
||||
border-width : 1px;
|
||||
border-color : #BCCDF0;
|
||||
width : 99%;
|
||||
}
|
||||
|
||||
.gsc-keeper {
|
||||
color: #3366cc;
|
||||
text-decoration: underline;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
font-weight: normal;
|
||||
|
||||
padding-left: 16px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: 1px 3px;
|
||||
background-image: url('http://www.google.com/uds/css/blue_check.gif');
|
||||
}
|
||||
.gsc-imageResult .gsc-keeper {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* each section of results has a results header table
|
||||
* .gsc-resultsHeader : the header itseld
|
||||
* td.twiddleRegionCell : the section that controls twiddleing of the section to expand/collapse
|
||||
* td.configLabelCell : the twiddler that controls active configuration of a searcher (used in GlocalSearch)
|
||||
* .gsc-twiddle : the twiddle image, note, this is a div that wraps gsc-title so that standard image replacement is feasible
|
||||
* .gsc-twiddle-closed : class added to gsc-twiddle when the twiddler is in the closed state
|
||||
* .gsc-twiddle-opened : class added to gsc-twiddle when the twiddler is in the opened state
|
||||
* .gsc-title : the section's title (e.g., Web Results, etc.)
|
||||
* .gsc-stats : contains the result counts
|
||||
* .gsc-stats
|
||||
*/
|
||||
.gsc-resultsHeader {
|
||||
clear: both;
|
||||
width: 100%;
|
||||
border-bottom: 1px solid #e9e9e9;
|
||||
margin-bottom : 4px;
|
||||
}
|
||||
|
||||
.gsc-resultsHeader td.gsc-twiddleRegionCell{
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
.gsc-resultsHeader td.gsc-configLabelCell{
|
||||
text-align: right;
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
/*
|
||||
* note that the next three classes are all joined together
|
||||
* to implement the twiddle image. apps can substitute in their
|
||||
* own images but will need to account for the image size here
|
||||
* as well as in the left padding of the title element
|
||||
*
|
||||
* Note: uds provides the following images that work with the geometry/padding defined below
|
||||
* to use these images simply over-ride the.gsc-twiddle-opened/-closed class and specify an alternate image
|
||||
* or use an image of your own design
|
||||
*/
|
||||
.gsc-resultsHeader .gsc-twiddle{
|
||||
margin-top: 4px;
|
||||
display: inline;
|
||||
cursor: pointer;
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0px 2px;
|
||||
}
|
||||
.gsc-resultsHeader td.gsc-twiddle-closed div.gsc-twiddle{
|
||||
background-image: url('http://www.google.com/uds/css/arrow_close.gif');
|
||||
}
|
||||
.gsc-resultsHeader td.gsc-twiddle-opened div.gsc-twiddle{
|
||||
background-image: url('http://www.google.com/uds/css/arrow_open.gif');
|
||||
}
|
||||
|
||||
.gsc-resultsHeader .gsc-title{
|
||||
color: #676767;
|
||||
margin-right: 10px;
|
||||
padding-left: 14px;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.gsc-resultsHeader .gsc-stats {
|
||||
color: #676767;
|
||||
font-size: 11px;
|
||||
font-weight: normal;
|
||||
display : inline;
|
||||
}
|
||||
|
||||
.gsc-resultsHeader td.gsc-twiddle-opened .gsc-stats {
|
||||
display : none;
|
||||
}
|
||||
|
||||
/*
|
||||
* .gsc-results-selector : box surrounding individual selectors for 1, more, or all results
|
||||
* .gsc-result-selector : an individual selector
|
||||
* .gsc-one-result : single result selector
|
||||
* .gsc-more-results : more (4) results selector
|
||||
* .gsc-all-results : all results (8) selector
|
||||
*/
|
||||
.gsc-results-selector {
|
||||
display : inline;
|
||||
}
|
||||
|
||||
.gsc-resultsHeader td.gsc-twiddle-closed .gsc-results-selector {
|
||||
display : none;
|
||||
}
|
||||
|
||||
.gsc-result-selector {
|
||||
cursor : pointer;
|
||||
display : inline;
|
||||
font-size : 13px;
|
||||
padding-left : 13px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center left;
|
||||
}
|
||||
|
||||
/* default mode is dark */
|
||||
.gsc-one-result {
|
||||
background-image: url('http://www.google.com/uds/css/one-complex-dark.gif');
|
||||
}
|
||||
|
||||
.gsc-more-results {
|
||||
background-image: url('http://www.google.com/uds/css/more-complex-dark.gif');
|
||||
}
|
||||
|
||||
.gsc-all-results {
|
||||
background-image: url('http://www.google.com/uds/css/all-complex-dark.gif');
|
||||
padding-right : 1px
|
||||
}
|
||||
|
||||
/* active mode is light */
|
||||
.gsc-one-result-active .gsc-one-result {
|
||||
background-image: url('http://www.google.com/uds/css/one-complex-light-blue.gif');
|
||||
}
|
||||
|
||||
.gsc-more-results-active .gsc-more-results {
|
||||
background-image: url('http://www.google.com/uds/css/more-complex-light-blue.gif');
|
||||
}
|
||||
|
||||
.gsc-all-results-active .gsc-all-results {
|
||||
background-image: url('http://www.google.com/uds/css/all-complex-light-blue.gif');
|
||||
}
|
||||
|
||||
.gsc-resultsHeader .gsc-configLabel{
|
||||
color: #676767;
|
||||
display: inline;
|
||||
font-size: 11px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.gsc-resultsHeader td.gsc-configLabelCell span.gsc-twiddle-closed {
|
||||
padding-right: 12px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-image: url('http://www.google.com/uds/css/settings.gif');
|
||||
}
|
||||
|
||||
|
||||
/* tabbed mode of search control
|
||||
* .gsc-tabsArea : the box containing all of the tabs
|
||||
* .gsc-tabsAreaInvisible : same as above, but this is the state when search has been cleared
|
||||
* .gsc-tabHeader : an individual tab
|
||||
* .gsc-tabHeader.gsc-tabhActive : the active tab
|
||||
* .gsc-tabHeader.gsc-tabhInactive : an inactive tab
|
||||
* .gsc-tabData : the data area/box containg results and header data for each tab
|
||||
* .gsc-tabData.gsc-tabdActive : the data area for the active tab
|
||||
* .gsc-tabData.gsc-tabdInactive : the data area for inactive tabs
|
||||
*/
|
||||
.gsc-tabsArea {
|
||||
clear: both;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.gsc-tabsAreaInvisible {
|
||||
display : none;
|
||||
}
|
||||
|
||||
.gsc-tabHeader {
|
||||
display: inline;
|
||||
cursor: pointer;
|
||||
padding-left: 6px;
|
||||
padding-right: 6px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.gsc-tabHeader.gsc-tabhActive {
|
||||
border-left: 1px solid #e9e9e9;
|
||||
border-right: 1px solid #e9e9e9;
|
||||
border-top: 2px solid #ff9900;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.gsc-tabHeader.gsc-tabhInactive {
|
||||
border-left: 1px solid #e9e9e9;
|
||||
border-right: 1px solid #e9e9e9;
|
||||
border-top: 2px solid #e9e9e9;
|
||||
background: #e9e9e9;
|
||||
color: #676767;
|
||||
}
|
||||
|
||||
.gsc-tabData.gsc-tabdActive {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.gsc-tabData.gsc-tabdInactive {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* tab specific results header supression
|
||||
* - no twiddle, tabbed mode runs in full expand mode
|
||||
* - no title
|
||||
* - no stats
|
||||
*/
|
||||
.gsc-tabData .gsc-resultsHeader .gsc-title {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.gsc-tabData .gsc-resultsHeader .gsc-stats {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.gsc-tabData .gsc-resultsHeader .gsc-results-selector {
|
||||
display : none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* the results for each section
|
||||
* .gsc-resultsbox-{visible,invisible} : a complete-collection of results including headers
|
||||
* .gsc-results : the collection of results for a given searcher
|
||||
* .gsc-result : a generic result within the control. each result has this class, as well as .gsc-xxxResult where xxx is web, image, local, blog, etc.
|
||||
*/
|
||||
.gsc-resultsbox-visible {
|
||||
display : block;
|
||||
}
|
||||
|
||||
.gsc-resultsbox-invisible {
|
||||
display : none;
|
||||
}
|
||||
|
||||
.gsc-results {
|
||||
clear: both;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.gsc-result {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.gsc-result .gs-title {
|
||||
height: 1.4em;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* specialized, result type specific, fine grained controls */
|
||||
.gsc-result div.gs-watermark {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Ads
|
||||
* inline the title div so that we can have an adjecent ad marker
|
||||
* in the control, the ad-marker is supressed since ads are already positioned
|
||||
* underneath a results divider
|
||||
*/
|
||||
.gsc-webResult a div.gs-title {
|
||||
display: inline;
|
||||
}
|
||||
.gsc-results .gsc-result img.gs-ad-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Standard configuration div/form */
|
||||
div.gsc-config {
|
||||
border: 1px solid #e9e9e9;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 10px;
|
||||
padding-top : 2px;
|
||||
padding-left : 6px;
|
||||
padding-right : 6px;
|
||||
padding-bottom : 6px;
|
||||
}
|
||||
|
||||
form.gsc-config {
|
||||
margin-bottom : 0px;
|
||||
}
|
||||
|
||||
.gsc-configSetting {
|
||||
margin-top : 6px;
|
||||
}
|
||||
|
||||
.gsc-configSetting_Label {
|
||||
color: #676767;
|
||||
}
|
||||
|
||||
.gsc-configSettingInput {
|
||||
color: #676767;
|
||||
border: 1px solid #e9e9e9;
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
.gsc-configSettingCheckbox {
|
||||
color: #676767;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.gsc-configSettingCheckboxLabel {
|
||||
display : inline;
|
||||
color: #676767;
|
||||
}
|
||||
|
||||
div.gsc-configSettingSubmit {
|
||||
margin-top : 8px;
|
||||
text-align : right;
|
||||
}
|
||||
|
||||
input.gsc-configSettingSubmit {
|
||||
display: inline;
|
||||
font-size: 11px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
/* Image Search
|
||||
* - support for horizontal and vertical orientation
|
||||
* - title, url, and size supression
|
||||
*/
|
||||
.gsc-results.gsc-imageResult .gsc-imageResult.horizontal{
|
||||
float: left;
|
||||
width: 65px;
|
||||
margin-bottom: 4px;
|
||||
margin-right: 8px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.gsc-results.gsc-imageResult .gsc-imageResult.horizontal .gs-imageResult {
|
||||
height: 41px;
|
||||
}
|
||||
|
||||
.gsc-results.gsc-imageResult .gsc-imageResult.vertical{
|
||||
float: none;
|
||||
margin-bottom: 4px;
|
||||
margin-right: 8px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.gsc-results.gsc-imageResult .gsc-imageResult.horizontal .gsc-keeper {
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.gsc-imageResult .gs-title {
|
||||
display: none;
|
||||
}
|
||||
.gsc-imageResult .gs-visibleUrl {
|
||||
display: none;
|
||||
}
|
||||
.gsc-imageResult .gs-size {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Video Search
|
||||
* - metadata, publisher small font
|
||||
* - single line title
|
||||
*/
|
||||
|
||||
.gsc-videoResult .gs-videoResult .gs-metadata {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.gsc-videoResult .gs-videoResult .gs-title {
|
||||
line-height: 1.3em;
|
||||
height: 1.3em;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.gsc-videoResult .gs-videoResult .gs-snippet {
|
||||
line-height: 1.3em;
|
||||
max-height: 2.6em;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/*** End of Control, Begin Results ***/
|
||||
|
||||
/* generic, cross cutting result style
|
||||
* - in the form of .gs-result .gs-xxx where xxx is the generic style
|
||||
* .gs-title : typically the first line of a result, typically a link, image results over ride this, since for image results, the image is the link
|
||||
* .gs-divider : typically seperates results from ads
|
||||
* .gs-visibleUrl : typically the last line of a result, displayed in green. sometimes a link (like in blog search)
|
||||
* .gs-clusterUrl : for news, and other similar services, this is a cluster of additional results
|
||||
* img.gs-image : an actial image in a result
|
||||
* .gs-phone : a phone number
|
||||
* .gs-address : an address (includes street, city, region, country)
|
||||
* .gs-streetAddress : a street (including #)
|
||||
* .gs-city : a city
|
||||
* .gs-region : a region (zip code, area, etc.)
|
||||
* .gs-country : a country
|
||||
* .gs-snippet : snippetized content
|
||||
* .gs-watermark : indicator that user selected this result
|
||||
* .gs-metadata : generic metadata, e.g.,
|
||||
* .gs-image-box : generic container for a result's image (within a table)
|
||||
* .gs-text-box : generic container for a result's text content (within a table). Note that this class, and image-box are only used in video
|
||||
*/
|
||||
.gs-result .gs-title,
|
||||
.gs-result .gs-title * {
|
||||
color: #0000cc;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.gs-divider {
|
||||
padding-bottom: 8px;
|
||||
text-align: center;
|
||||
color: #676767;
|
||||
}
|
||||
|
||||
.gs-result a.gs-visibleUrl,
|
||||
.gs-result .gs-visibleUrl {
|
||||
color: #008000;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* relative and absolute dates, not, news inlines these */
|
||||
.gs-relativePublishedDate,
|
||||
.gs-publishedDate {
|
||||
color: #6f6f6f;
|
||||
text-decoration: none;
|
||||
}
|
||||
.gs-result a.gs-clusterUrl,
|
||||
.gs-result .gs-clusterUrl {
|
||||
color: #008000;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.gs-newsResult .gs-publisher {
|
||||
color: #6f6f6f;
|
||||
display : inline;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/*
|
||||
* For news results there are two dates...
|
||||
* The relative date is visible while in the
|
||||
* search control and the published date
|
||||
* is visible when clipped. Why? It doesn't
|
||||
* make sense to say 4 hours ago for a clipped
|
||||
* result...
|
||||
*/
|
||||
|
||||
/* establish the base style */
|
||||
.gs-newsResult .gs-relativePublishedDate,
|
||||
.gs-newsResult .gs-publishedDate {
|
||||
display : inline;
|
||||
margin-left : 4px;
|
||||
}
|
||||
|
||||
/* base styling for relative date is none */
|
||||
.gs-blogResult .gs-relativePublishedDate,
|
||||
.gs-newsResult .gs-relativePublishedDate {
|
||||
display : none;
|
||||
}
|
||||
|
||||
/* suppress publishedDate while in the control */
|
||||
.gsc-blogResult .gs-blogResult .gs-publishedDate,
|
||||
.gsc-newsResult .gs-newsResult .gs-publishedDate {
|
||||
display : none;
|
||||
}
|
||||
|
||||
/* enable relativePublishedDate while in the control */
|
||||
.gsc-blogResult .gs-blogResult .gs-relativePublishedDate,
|
||||
.gsc-newsResult .gs-newsResult .gs-relativePublishedDate {
|
||||
display : inline;
|
||||
}
|
||||
|
||||
.gs-newsResult .gs-location {
|
||||
color: #6f6f6f;
|
||||
display : inline;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.gs-result img.gs-image {
|
||||
vertical-align : middle;
|
||||
border : 1px solid #0000cc;
|
||||
}
|
||||
|
||||
.gs-result div.gs-phone {}
|
||||
|
||||
.gs-result .gs-directions,
|
||||
.gs-result .gs-directions * {
|
||||
color: #3366cc;
|
||||
font-weight: normal;
|
||||
text-decoration : underline;
|
||||
}
|
||||
|
||||
.gs-videoResult a.gs-publisher,
|
||||
.gs-videoResult .gs-publisher {
|
||||
color: #008000;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.gs-result a {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.gs-result .gs-address {
|
||||
}
|
||||
|
||||
.gs-result .gs-snippet {
|
||||
}
|
||||
|
||||
.gs-result .gs-watermark{
|
||||
font-size: 10px;
|
||||
color: #7777cc;
|
||||
}
|
||||
|
||||
div.gs-results-attribution {
|
||||
text-align : center;
|
||||
margin-bottom : 4px;
|
||||
}
|
||||
|
||||
div.gs-results-attribution,
|
||||
div.gs-results-attribution * {
|
||||
font-size : 10px;
|
||||
color : #676767;
|
||||
text-decoration : none;
|
||||
}
|
||||
|
||||
div.gs-results-attribution a {
|
||||
color: #0000cc;
|
||||
cursor : pointer;
|
||||
}
|
||||
|
||||
div.gs-results-attribution a:hover {
|
||||
text-decoration : underline;
|
||||
}
|
||||
|
||||
.gs-result .gs-metadata{
|
||||
color: #676767;
|
||||
}
|
||||
|
||||
/* searcher specific styling for
|
||||
* - web ad
|
||||
* - web (none)
|
||||
* - local
|
||||
* - image (none)
|
||||
* - blog (none)
|
||||
* - video (none)
|
||||
*/
|
||||
|
||||
/* webAd search specific over rides
|
||||
* .gs-ad-marker : disabled in control, but on in green to indicate clipped result is an ad
|
||||
*/
|
||||
.gs-webAd img.gs-ad-marker {
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.gs-webAd a.gs-visibleUrl div.gs-visibleUrl {
|
||||
display : inline;
|
||||
}
|
||||
|
||||
/* local search specific over rides
|
||||
* - city, region displayed inline
|
||||
* - country supressed
|
||||
* - small font size for info window's
|
||||
*/
|
||||
|
||||
div.gs-city {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
div.gs-region {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
div.gs-country {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.gs-infoWindow * {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
/* video search specific over rides
|
||||
* - align the table data
|
||||
* - default image width garuntee
|
||||
* - appropriate cell seperation
|
||||
*/
|
||||
|
||||
/* todo(markl): workaround until gre in gmail fixes his styles */
|
||||
.gs-videoResult * {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/*
|
||||
.gs-videoResult td .gs-image {
|
||||
vertical-align : middle;
|
||||
}
|
||||
|
||||
.gs-videoResult td.gs-image-box {
|
||||
background-color : #000000;
|
||||
}*/
|
||||
|
||||
.gs-videoResult td div.gs-image-box {
|
||||
width : 110px;
|
||||
height : 78px;
|
||||
}
|
||||
|
||||
.gs-videoResult td div.gs-text-box {
|
||||
vertical-align: top;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
BIN
templates/pubOry/i.gif
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
templates/pubOry/images/block_icons/block_cache.gif
Normal file
|
After Width: | Height: | Size: 97 B |
BIN
templates/pubOry/images/block_icons/block_delete.gif
Normal file
|
After Width: | Height: | Size: 73 B |
BIN
templates/pubOry/images/block_icons/block_edit.gif
Normal file
|
After Width: | Height: | Size: 182 B |
BIN
templates/pubOry/images/block_icons/block_edit2.gif
Normal file
|
After Width: | Height: | Size: 274 B |
BIN
templates/pubOry/images/block_icons/block_edit_admin.gif
Normal file
|
After Width: | Height: | Size: 237 B |
BIN
templates/pubOry/images/block_icons/block_edit_split.gif
Normal file
|
After Width: | Height: | Size: 232 B |
BIN
templates/pubOry/images/block_icons/block_hidden.gif
Normal file
|
After Width: | Height: | Size: 118 B |
BIN
templates/pubOry/images/block_icons/block_move_down.gif
Normal file
|
After Width: | Height: | Size: 71 B |
BIN
templates/pubOry/images/block_icons/block_move_left.gif
Normal file
|
After Width: | Height: | Size: 70 B |
BIN
templates/pubOry/images/block_icons/block_move_right.gif
Normal file
|
After Width: | Height: | Size: 87 B |
BIN
templates/pubOry/images/block_icons/block_move_up.gif
Normal file
|
After Width: | Height: | Size: 73 B |
BIN
templates/pubOry/images/block_icons/contract.gif
Normal file
|
After Width: | Height: | Size: 75 B |
BIN
templates/pubOry/images/block_icons/expand.gif
Normal file
|
After Width: | Height: | Size: 79 B |
BIN
templates/pubOry/images/block_icons/spacer.gif
Normal file
|
After Width: | Height: | Size: 43 B |
BIN
templates/pubOry/images/cellpic.gif
Normal file
|
After Width: | Height: | Size: 722 B |
BIN
templates/pubOry/images/cellpic1.gif
Normal file
|
After Width: | Height: | Size: 246 B |
BIN
templates/pubOry/images/cellpic2.jpg
Normal file
|
After Width: | Height: | Size: 480 B |
BIN
templates/pubOry/images/cellpic3.gif
Normal file
|
After Width: | Height: | Size: 257 B |
16
templates/pubOry/images/index.htm
Normal file
@@ -0,0 +1,16 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>SwiftBlue created by BitByBit</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
</head>
|
||||
|
||||
<body bgcolor="#FFFFFF" text="#000000">
|
||||
|
||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td align="center" valign="middle"><a href="http://www.bitbybit.f2s.com/" target="_new">Visit Us!</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
BIN
templates/pubOry/images/logo.gif
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
templates/pubOry/images/logo_med.gif
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
templates/pubOry/images/logo_mxBB.gif
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
templates/pubOry/images/page_icons/nav_about_us.gif
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
templates/pubOry/images/page_icons/nav_announcement.gif
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
templates/pubOry/images/page_icons/nav_bible.gif
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
templates/pubOry/images/page_icons/nav_calendar.gif
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
templates/pubOry/images/page_icons/nav_chatbox.gif
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
templates/pubOry/images/page_icons/nav_develope.gif
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
templates/pubOry/images/page_icons/nav_download.gif
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
templates/pubOry/images/page_icons/nav_ekklesia.gif
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
templates/pubOry/images/page_icons/nav_email.gif
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
templates/pubOry/images/page_icons/nav_email2.gif
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
templates/pubOry/images/page_icons/nav_explorer.gif
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
templates/pubOry/images/page_icons/nav_forum.gif
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
templates/pubOry/images/page_icons/nav_guestbook.gif
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
templates/pubOry/images/page_icons/nav_help.gif
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
templates/pubOry/images/page_icons/nav_home.gif
Normal file
|
After Width: | Height: | Size: 1016 B |
BIN
templates/pubOry/images/page_icons/nav_info.gif
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
templates/pubOry/images/page_icons/nav_login.gif
Normal file
|
After Width: | Height: | Size: 754 B |
BIN
templates/pubOry/images/page_icons/nav_members.gif
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
templates/pubOry/images/page_icons/nav_musik.gif
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
templates/pubOry/images/page_icons/nav_mydoc.gif
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
templates/pubOry/images/page_icons/nav_news.gif
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
templates/pubOry/images/page_icons/nav_profile.gif
Normal file
|
After Width: | Height: | Size: 1012 B |
BIN
templates/pubOry/images/page_icons/nav_promote.gif
Normal file
|
After Width: | Height: | Size: 1.3 KiB |