亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? general.php

?? this the oscommerce 3.0 aplha 4
?? PHP
字號:
<?php/*  $Id: general.php 1498 2007-03-29 14:04:50Z hpdl $  osCommerce, Open Source E-Commerce Solutions  http://www.oscommerce.com  Copyright (c) 2006 osCommerce  This program is free software; you can redistribute it and/or modify  it under the terms of the GNU General Public License v2 (1991)  as published by the Free Software Foundation.*//** * Wrapper function for set_time_limit(), which can't be used in safe_mode * * @param int $limit The limit to set the maximium execution time to * @access public */  function osc_set_time_limit($limit) {    if (!get_cfg_var('safe_mode')) {      set_time_limit($limit);    }  }/** * Redirect to a URL address * * @param string $url The URL address to redirect to * @access public */  function osc_redirect_admin($url) {    global $osC_Session;    if ( (strpos($url, "\n") !== false) || (strpos($url, "\r") !== false) ) {      $url = osc_href_link_admin(FILENAME_DEFAULT);    }    if (strpos($url, '&amp;') !== false) {      $url = str_replace('&amp;', '&', $url);    }    header('Location: ' . $url);    $osC_Session->close();    exit;  }/** * Retrieve web server and database server information * * @access public */  function osc_get_system_information() {    global $osC_Database;    $Qdb_date = $osC_Database->query('select now() as datetime');    $Qdb_uptime = $osC_Database->query('show status like "Uptime"');    @list($system, $host, $kernel) = preg_split('/[\s,]+/', @exec('uname -a'), 5);    $db_uptime = intval($Qdb_uptime->valueInt('Value') / 3600) . ':' . str_pad(intval(($Qdb_uptime->valueInt('Value') / 60) % 60), 2, '0', STR_PAD_LEFT);    return array('date' => osC_DateTime::getShort(null, true),                 'system' => $system,                 'kernel' => $kernel,                 'host' => $host,                 'ip' => gethostbyname($host),                 'uptime' => @exec('uptime'),                 'http_server' => $_SERVER['SERVER_SOFTWARE'],                 'php' => PHP_VERSION,                 'zend' => (function_exists('zend_version') ? zend_version() : ''),                 'db_server' => DB_SERVER,                 'db_ip' => gethostbyname(DB_SERVER),                 'db_version' => 'MySQL ' . (function_exists('mysql_get_server_info') ? mysql_get_server_info() : ''),                 'db_date' => osC_DateTime::getShort($Qdb_date->value('datetime'), true),                 'db_uptime' => $db_uptime);  }/** * Parse file permissions to a human readable layout * * @param int $mode The file permission to parse * @access public */  function osc_get_file_permissions($mode) {// determine type    if ( ($mode & 0xC000) == 0xC000) { // unix domain socket      $type = 's';    } elseif ( ($mode & 0x4000) == 0x4000) { // directory      $type = 'd';    } elseif ( ($mode & 0xA000) == 0xA000) { // symbolic link      $type = 'l';    } elseif ( ($mode & 0x8000) == 0x8000) { // regular file      $type = '-';    } elseif ( ($mode & 0x6000) == 0x6000) { //bBlock special file      $type = 'b';    } elseif ( ($mode & 0x2000) == 0x2000) { // character special file      $type = 'c';    } elseif ( ($mode & 0x1000) == 0x1000) { // named pipe      $type = 'p';    } else { // unknown      $type = '?';    }// determine permissions    $owner['read']    = ($mode & 00400) ? 'r' : '-';    $owner['write']   = ($mode & 00200) ? 'w' : '-';    $owner['execute'] = ($mode & 00100) ? 'x' : '-';    $group['read']    = ($mode & 00040) ? 'r' : '-';    $group['write']   = ($mode & 00020) ? 'w' : '-';    $group['execute'] = ($mode & 00010) ? 'x' : '-';    $world['read']    = ($mode & 00004) ? 'r' : '-';    $world['write']   = ($mode & 00002) ? 'w' : '-';    $world['execute'] = ($mode & 00001) ? 'x' : '-';// adjust for SUID, SGID and sticky bit    if ($mode & 0x800 ) $owner['execute'] = ($owner['execute'] == 'x') ? 's' : 'S';    if ($mode & 0x400 ) $group['execute'] = ($group['execute'] == 'x') ? 's' : 'S';    if ($mode & 0x200 ) $world['execute'] = ($world['execute'] == 'x') ? 't' : 'T';    return $type .           $owner['read'] . $owner['write'] . $owner['execute'] .           $group['read'] . $group['write'] . $group['execute'] .           $world['read'] . $world['write'] . $world['execute'];  }/* * Recursively remove a directory or a single file * * @param string $source The source to remove * @access public */  function osc_remove($source) {    global $osC_Language, $osC_MessageStack;    if (is_dir($source)) {      $dir = dir($source);      while ($file = $dir->read()) {        if ( ($file != '.') && ($file != '..') ) {          if (is_writeable($source . '/' . $file)) {            osc_remove($source . '/' . $file);          } else {            $osC_MessageStack->add('header', sprintf($osC_Language->get('ms_error_file_not_removable'), $source . '/' . $file), 'error');          }        }      }      $dir->close();      if (is_writeable($source)) {        return rmdir($source);      } else {        $osC_MessageStack->add('header', sprintf($osC_Language->get('ms_error_directory_not_removable'), $source), 'error');      }    } else {      if (is_writeable($source)) {        return unlink($source);      } else {        $osC_MessageStack->add('header', sprintf($osC_Language->get('ms_error_file_not_removable'), $source), 'error');      }    }  }/** * Return an image type that the server supports * * @access public */  function osc_dynamic_image_extension() {    static $extension;    if (!isset($extension)) {      if (function_exists('imagetypes')) {        if (imagetypes() & IMG_PNG) {          $extension = 'png';        } elseif (imagetypes() & IMG_JPG) {          $extension = 'jpeg';        } elseif (imagetypes() & IMG_GIF) {          $extension = 'gif';        }      } elseif (function_exists('imagepng')) {        $extension = 'png';      } elseif (function_exists('imagejpeg')) {        $extension = 'jpeg';      } elseif (function_exists('imagegif')) {        $extension = 'gif';      }    }    return $extension;  }/** * Parse a category path to avoid loops with duplicate values * * @param string $cPath The category path to parse * @access public */  function osc_parse_category_path($cPath) {// make sure the category IDs are integers    $cPath_array = array_map('intval', explode('_', $cPath));// make sure no duplicate category IDs exist which could lock the server in a loop    $tmp_array = array();    $n = sizeof($cPath_array);    for ($i=0; $i<$n; $i++) {      if (!in_array($cPath_array[$i], $tmp_array)) {        $tmp_array[] = $cPath_array[$i];      }    }    return $tmp_array;  }/** * Return an array as a string value * * @param array $array The array to return as a string value * @param array $exclude An array of parameters to exclude from the string * @param string $equals The equals character to symbolize what value a parameter is defined to * @param string $separator The separate to use between parameters */  function osc_array_to_string($array, $exclude = '', $equals = '=', $separator = '&') {    if (!is_array($exclude)) $exclude = array();    $get_string = '';    if (sizeof($array) > 0) {      while (list($key, $value) = each($array)) {        if ( (!in_array($key, $exclude)) && ($key != 'x') && ($key != 'y') ) {          $get_string .= $key . $equals . $value . $separator;        }      }      $remove_chars = strlen($separator);      $get_string = substr($get_string, 0, -$remove_chars);    }    return $get_string;  }/** * Return a variable value from a serialized string * * @param string $serialization_data The serialized string to return values from * @param string $variable_name The variable to return * @param string $variable_type The variable type */  function osc_get_serialized_variable(&$serialization_data, $variable_name, $variable_type = 'string') {    $serialized_variable = '';    switch ($variable_type) {      case 'string':        $start_position = strpos($serialization_data, $variable_name . '|s');        $serialized_variable = substr($serialization_data, strpos($serialization_data, '|', $start_position) + 1, strpos($serialization_data, '|', $start_position) - 1);        break;      case 'array':      case 'object':        if ($variable_type == 'array') {          $start_position = strpos($serialization_data, $variable_name . '|a');        } else {          $start_position = strpos($serialization_data, $variable_name . '|O');        }        $tag = 0;        for ($i=$start_position, $n=sizeof($serialization_data); $i<$n; $i++) {          if ($serialization_data[$i] == '{') {            $tag++;          } elseif ($serialization_data[$i] == '}') {            $tag--;          } elseif ($tag < 1) {            break;          }        }        $serialized_variable = substr($serialization_data, strpos($serialization_data, '|', $start_position) + 1, $i - strpos($serialization_data, '|', $start_position) - 1);        break;    }    return $serialized_variable;  }/** * Call a function given in string format used by configuration set and use functions * * @param string $function The complete function to call * @param string $default The default value to pass to the function * @param string $key The key value to use for the input field */  function osc_call_user_func($function, $default = null, $key = null) {    if (strpos($function, '::') !== false) {      $class_method = explode('::', $function);      return call_user_func(array($class_method[0], $class_method[1]), $default, $key);    } else {      $function_name = $function;      $function_parameter = '';      if (strpos($function, '(') !== false) {        $function_array = explode('(', $function, 2);        $function_name = $function_array[0];        $function_parameter = substr($function_array[1], 0, -1);      }      if (!function_exists($function_name)) {        include('includes/functions/cfg_parameters/' . $function_name . '.php');      }      if (!empty($function_parameter)) {        return call_user_func($function_name, $function_parameter, $default, $key);      } else {        return call_user_func($function_name, $default, $key);      }    }  }/** * Validate a plain text password against an encrypted value * * @param string $plain The plain text password * @param string $encrypted The encrypted password to validate against */  function osc_validate_password($plain, $encrypted) {    if (!empty($plain) && !empty($encrypted)) {// split apart the hash / salt      $stack = explode(':', $encrypted);      if (sizeof($stack) != 2) {        return false;      }      if (md5($stack[1] . $plain) == $stack[0]) {        return true;      }    }    return false;  }?>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
综合激情成人伊人| 婷婷开心激情综合| 欧美日韩精品一区二区天天拍小说 | 午夜精品成人在线| 久久综合资源网| 欧美丝袜自拍制服另类| 国产黄色精品网站| 亚洲一区二区av在线| 久久精品一区二区三区四区| 欧美日韩久久不卡| 不卡一二三区首页| 国内成人自拍视频| 日韩国产欧美在线播放| 亚洲色图在线播放| 国产无人区一区二区三区| 欧美精品自拍偷拍| 欧美在线高清视频| www.av亚洲| 国产精品1区2区3区| 丝袜亚洲精品中文字幕一区| 亚洲乱码精品一二三四区日韩在线 | 99视频有精品| 国产成人精品网址| 久久国产精品72免费观看| 亚洲777理论| 一区二区三区视频在线看| 中文av一区特黄| 国产欧美一区二区三区鸳鸯浴 | 韩国精品在线观看| 日本亚洲免费观看| 亚洲va欧美va人人爽| 亚洲精品国产视频| 亚洲欧美日韩国产综合| 亚洲欧洲在线观看av| 国产精品欧美综合在线| 国产色综合久久| 国产欧美日韩麻豆91| 国产欧美一区二区精品性色| 久久免费电影网| 国产婷婷色一区二区三区 | 亚洲成人av一区二区| 一区二区高清免费观看影视大全| 国产精品久久久久久久第一福利| 国产欧美日韩在线视频| 久久精品一区二区三区不卡| 国产色婷婷亚洲99精品小说| 国产三级精品在线| 国产精品美女久久久久久2018| 国产三级精品三级在线专区| 国产精品传媒入口麻豆| 日韩毛片一二三区| 亚洲一区二区三区在线看| 亚洲国产中文字幕| 蜜桃视频免费观看一区| 国产一区二区三区蝌蚪| 国产精品一品视频| 成人av网站在线| 色偷偷久久人人79超碰人人澡| 色偷偷成人一区二区三区91 | 色综合视频在线观看| 色婷婷av一区二区三区之一色屋| 在线观看一区二区精品视频| 日韩一区二区电影在线| 久久久精品蜜桃| 成人免费一区二区三区在线观看| 亚洲免费在线播放| 亚洲成人激情社区| 六月丁香婷婷久久| 处破女av一区二区| 欧美日韩综合在线免费观看| 日韩一区二区三区av| 久久精品一区二区三区不卡牛牛 | 亚洲欧美成aⅴ人在线观看 | 99精品桃花视频在线观看| 一本色道久久综合亚洲91 | 久久综合丝袜日本网| 亚洲天堂精品在线观看| 五月激情综合婷婷| 国产精一品亚洲二区在线视频| 波多野洁衣一区| 56国语精品自产拍在线观看| 中文字幕av一区 二区| 夜夜亚洲天天久久| 国产精品一区二区在线播放| 91美女在线视频| 欧美一级理论片| 国产精品国产三级国产aⅴ无密码| 亚洲一区二区不卡免费| 国产精品一区一区三区| 91福利区一区二区三区| 精品乱码亚洲一区二区不卡| 亚洲另类春色校园小说| 免费观看在线色综合| 色香蕉成人二区免费| 久久综合九色综合97婷婷| 亚洲精品国久久99热| 国产一区999| 3751色影院一区二区三区| 国产精品女同一区二区三区| 欧美aⅴ一区二区三区视频| 99国产欧美另类久久久精品| 欧美成人精品二区三区99精品| 久久99热99| 91香蕉视频在线| 久久精品免视看| 日韩高清在线一区| 在线观看日韩电影| 成人免费一区二区三区视频 | 欧美中文字幕一二三区视频| 中文字幕欧美三区| 狠狠色伊人亚洲综合成人| 欧美丝袜丝交足nylons| 国产精品网站导航| 国产美女精品在线| 日韩欧美黄色影院| 天堂一区二区在线免费观看| 91激情在线视频| 亚洲三级电影全部在线观看高清| 国产精品亚洲а∨天堂免在线| 91精品欧美久久久久久动漫| 亚洲最快最全在线视频| 99精品视频一区| 亚洲国产精品99久久久久久久久| 狠狠v欧美v日韩v亚洲ⅴ| 91精品国模一区二区三区| 一区二区三区国产精华| 91丝袜国产在线播放| 国产精品毛片a∨一区二区三区| 精品亚洲aⅴ乱码一区二区三区| 欧美精品第一页| 丝袜美腿亚洲色图| 欧美三区免费完整视频在线观看| 亚洲欧美电影一区二区| 91香蕉国产在线观看软件| 亚洲人成亚洲人成在线观看图片| 丁香一区二区三区| 97久久超碰国产精品电影| 亚洲精品国产品国语在线app| 成人福利视频在线| 久久久美女毛片| 国产在线视频精品一区| 久久综合999| 久久99蜜桃精品| 久久免费偷拍视频| 国产精品白丝jk黑袜喷水| 久久久91精品国产一区二区三区| 久久国产日韩欧美精品| 精品第一国产综合精品aⅴ| 精品一区二区精品| 国产蜜臀av在线一区二区三区| 成人黄色免费短视频| 一区二区中文视频| 欧美日韩亚洲国产综合| 午夜a成v人精品| 日韩视频在线你懂得| 国产麻豆精品在线| 亚洲国产精品二十页| aaa欧美色吧激情视频| 一区二区三区日韩在线观看| 欧美军同video69gay| 精品一区二区久久| 国产精品乱码人人做人人爱| 91麻豆产精品久久久久久| 亚洲国产精品一区二区尤物区| 日韩欧美国产综合| 成人国产在线观看| 亚洲综合免费观看高清完整版在线| 欧美日韩精品一区视频| 国产一区二区三区高清播放| 亚洲特黄一级片| 在线综合+亚洲+欧美中文字幕| 国产综合一区二区| 一区二区三区免费| 欧美成人性福生活免费看| 91看片淫黄大片一级在线观看| 午夜精品久久久久久久| 久久一二三国产| 在线视频欧美精品| 久久成人精品无人区| 国产精品国产a| 欧美疯狂性受xxxxx喷水图片| 国产精品一区二区视频| 婷婷开心久久网| 久久99精品久久只有精品| 国产精品国产馆在线真实露脸| 欧美一卡2卡3卡4卡| thepron国产精品| 激情欧美一区二区| 亚洲一区二区精品视频| 国产精品女同一区二区三区| 在线电影一区二区三区| www.日韩精品| 久久99蜜桃精品| 亚洲国产视频直播| 国产精品久久久久久久久动漫 | 国产精品色呦呦| 欧美一区二区三区公司| 色呦呦国产精品| 国产激情精品久久久第一区二区| 日韩二区三区四区|