// ==================== 以下变量需根据您的服务器实际设置加以修改 ====================
//$dbhost = "localhost"; // 数据库服务器
//$dbuser = "begain"; // 数据库用户名
//$dbpw = "begain@0819"; // 数据库密码
//$dbname = "begain"; // 数据库名
//$dbuser = "begain"; // mysql5数据库用户名
//$dbpw = "begain@0819"; // mysql5数据库密码
//$dbname = "begain"; // mysql5数据库名
//SET PASSWORD FOR 用户名@localhost = OLD_PASSWORD('密码');
//$dbuser = "begain"; // 数据库用户名
//$dbpw = "begain@0819"; // 数据库密码
//$dbname = "begain"; // 数据库名
$pconnect=1;
$public="product";
$pathdeep="http://www.petool.com/";
$pathdeep_str="http://localhost/petool5";
$pagetotal=20;
//$sortdigit=6; //分类最大可能数的位数
//$sortmax=10; //分类最大可能级数
/*
//以下所有函数是真正公用函数
///////////////////////////////////////////
//Function name: set0enough($num)
//parameter: $num
//return: $res
//description:
// 不足$sortdigit位添0
//version: 1.0
///////////////////////////////////////////
function set0enough($num)
{
global $sortdigit;
$numlength=strlen($num);
for($i=0;$i<($sortdigit-$numlength);$i++)
{
$res.="0";
}
$res.=$num;
return $res;
}
///////////////////////////////////////////
//Function name: setenough0($num)
//parameter: $num
//return: $res
//description:
// 不足$sortdigit*$sortmax位添0
//version: 1.0
///////////////////////////////////////////
function setenough0($num)
{
global $sortdigit,$sortmax;
$numlength=strlen($num);
for($i=0;$i<(($sortdigit*$sortmax)-$numlength);$i++)
{
$num.="0";
}
$res=$num;
return $res;
}
*/
?>
药类生产设备-Petool尚尤MRO工业品网
MRO工业品分类-返回首页
片剂多用仪 | 溶出仪系列 | 冰点渗透计 | 包衣机 | 崩解仪 | 中药煎药机 | 实验室用粉碎机 |
尚尤[北京]:tel:010-68948290 |
尚尤[上海]:tel:021-50652440