В ручную совместил домашнюю и рабочую версию
This commit is contained in:
@ -18,13 +18,16 @@ input,textarea
|
||||
{
|
||||
margin: 0px 0px;
|
||||
}
|
||||
|
||||
select
|
||||
{
|
||||
display: block;
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing:content-box;
|
||||
box-sizing:content-box;
|
||||
/*box-sizing:content-box;*/
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/*Над всеми по Z*/
|
||||
#menu
|
||||
{
|
||||
|
||||
@ -23,7 +23,7 @@ class EdtRec
|
||||
this.win=new TWin();
|
||||
this.win.TWin(pageX-10,pageY-10);
|
||||
this.win.setSize("500px","150px");
|
||||
this.win.setContent('<div id="eDiv'+this.uid+'" style="width: 100%; height: 100%; position: relative;"></div>');
|
||||
this.win.setContent('<div id="eDiv'+this.uid+'" style="width: 100%; /*height: 100%;*/ position: relative;"></div>');
|
||||
|
||||
let eDiv=document.getElementById('eDiv'+this.uid);
|
||||
eDiv.innerHTML = '<table width="100%" height="100%" border="0px" cellspacing="0" cellpadding="0"><tr><td style="vertical-align:middle;" bgcolor="#F1F1F1"><center><IMG src="../resources/metadata/dbms/images/loading.gif"></center></td></tr></table>'
|
||||
@ -346,7 +346,7 @@ class EdtRec
|
||||
var button = document.createElement('input');
|
||||
button.setAttribute("type","button");
|
||||
button.setAttribute("value","...");
|
||||
button.style.cssText="width:30px; font-size: 9pt;";
|
||||
button.style.cssText="width:30px;font-size:9pt;margin:0px;padding:0px;";
|
||||
button.onclick=function(thiz,nodeProp){ return function(){
|
||||
thiz.callWindow(nodeProp);
|
||||
};}(this,nodeProp);
|
||||
@ -399,6 +399,7 @@ class EdtRec
|
||||
}else
|
||||
if(vt=="i4")
|
||||
{
|
||||
|
||||
//alert("prop name = "+nodeProp.getAttribute("n"));
|
||||
|
||||
//If there is a node "list" with the elements "CheckBox" then create them.
|
||||
@ -422,6 +423,7 @@ class EdtRec
|
||||
opt=opt.nextSibling;
|
||||
}
|
||||
td2.appendChild( select );
|
||||
|
||||
}else
|
||||
{
|
||||
var table=document.createElement('table');
|
||||
@ -432,9 +434,9 @@ class EdtRec
|
||||
var newCell1 = newRow.insertCell(0); //in the created line we add a column
|
||||
newCell1.style.cssText="padding:0px; padding-right:1px; width: 100%;";
|
||||
var newCell2 = newRow.insertCell(1); //in the created line we add a column
|
||||
newCell2.style.cssText="padding:0px; padding-right:1px;";
|
||||
newCell2.style.cssText="padding:0px; padding-right:1px;height:100%;";
|
||||
var newCell3 = newRow.insertCell(2); //in the created line we add a column
|
||||
newCell3.style.cssText="padding:0px;";
|
||||
newCell3.style.cssText="padding:0px;height:100%;";
|
||||
|
||||
input = document.createElement('input');
|
||||
input.style.cssText="width: 100%; height:22px;";
|
||||
@ -448,7 +450,7 @@ class EdtRec
|
||||
button.setAttribute("type","button");
|
||||
button.setAttribute("value","+");
|
||||
button.setAttribute("title",_("Increase_by_1"));
|
||||
button.style.cssText="height:22px;width:22px;";
|
||||
button.style.cssText="height:100%;width:22px;margin:0px;padding:0px;";
|
||||
button.onclick=function(inp){return function(){inp.value=getIntVal(inp.value)+1;}}(input);
|
||||
|
||||
newCell2.appendChild( button );
|
||||
@ -457,7 +459,7 @@ class EdtRec
|
||||
button.setAttribute("type","button");
|
||||
button.setAttribute("value","-");
|
||||
button.setAttribute("title",_("Decrease_by_1"));
|
||||
button.style.cssText="height:22px;width:22px;";
|
||||
button.style.cssText="height:100%;width:22px;margin:0px;padding:0px;";
|
||||
button.onclick=function(inp){return function(){inp.value=getIntVal(inp.value)-1;}}(input);
|
||||
newCell3.appendChild( button );
|
||||
|
||||
@ -486,9 +488,9 @@ class EdtRec
|
||||
table.border=0;
|
||||
let newRow=table.insertRow(0); //add a row to the created table
|
||||
var newCell1 = newRow.insertCell(0); //in the created line we add a column
|
||||
newCell1.style.cssText="padding:0px; width: 100%;";
|
||||
newCell1.style.cssText="padding:0px;padding-right:1px;width:100%;";
|
||||
var newCell2 = newRow.insertCell(1); //in the created line we add a column
|
||||
newCell2.style.cssText="padding:0px;";
|
||||
newCell2.style.cssText="padding:0px;height:100%;";
|
||||
|
||||
select = document.createElement('select');
|
||||
select.style.cssText="width: 100%; height:22px; line-height: 22px;";
|
||||
@ -508,7 +510,7 @@ class EdtRec
|
||||
var button = document.createElement('input');
|
||||
button.setAttribute("type","button");
|
||||
button.setAttribute("value","...");
|
||||
button.style.cssText="width:30px; font-size: 9pt;";
|
||||
button.style.cssText="width:30px;font-size:9pt;margin:0px;padding:0px;height:100%;";
|
||||
button.onclick=this.onSelObj(nodeProp.getAttribute("ot"),nodeProp.getAttribute("n"));
|
||||
newCell2.appendChild(button);
|
||||
|
||||
@ -575,7 +577,7 @@ class EdtRec
|
||||
var button = document.createElement('input');
|
||||
button.setAttribute("type","button");
|
||||
button.setAttribute("value","...");
|
||||
button.style.cssText="width:30px; font-size: 9pt;";
|
||||
button.style.cssText="width:30px;font-size:9pt;margin:0px;padding:0px;";
|
||||
button.onclick=this.onSelObj(nodeProp.getAttribute("ot"),nodeProp.getAttribute("n"));
|
||||
newCell2.appendChild(button);
|
||||
|
||||
@ -646,14 +648,14 @@ class EdtRec
|
||||
btnSel.setAttribute("value","...");
|
||||
btnSel.setAttribute("title",_('Upload'));
|
||||
|
||||
btnSel.style.cssText="width:30px; font-size: 9pt;";
|
||||
btnSel.style.cssText="width:30px;font-size:9pt;margin:0px;padding:0px;";
|
||||
newCell2.appendChild(btnSel);
|
||||
|
||||
var button2 = document.createElement('input');
|
||||
button2.setAttribute("type","button");
|
||||
button2.setAttribute("value","X");
|
||||
button2.setAttribute("title",_('Delete'));
|
||||
button2.style.cssText="height:22px;width:22px;";
|
||||
button2.style.cssText="height:22px;width:22px;margin:0px;padding:0px;";
|
||||
button2.onclick=function(inp,ifr){return function(){ inp.value=''; getIframeDocument(ifr).forms["form"].reset(); }}(input,ifr);
|
||||
newCell3.appendChild(button2);
|
||||
|
||||
@ -688,7 +690,7 @@ class EdtRec
|
||||
table.style.cssText="width:100%;border-spacing:0;border-collapse:collapse;";
|
||||
//table.setAttribute("bgColor","#0000FF");
|
||||
table.border=0;
|
||||
newRow=table.insertRow(0);
|
||||
let newRow=table.insertRow(0);
|
||||
var newCell1 = newRow.insertCell(0);
|
||||
newCell1.style.cssText="padding:0px;width: 100%;";
|
||||
var newCell2 = newRow.insertCell(1);
|
||||
@ -703,7 +705,7 @@ class EdtRec
|
||||
newCell1.appendChild( input );
|
||||
|
||||
var img = document.createElement('img');
|
||||
img.src='../resources/engine/images/datepicker.jpg';
|
||||
img.src='../resources/metadata/dbms/images/datepicker.jpg';
|
||||
img.style.cssText="cursor: pointer;";
|
||||
newCell2.appendChild(img);
|
||||
|
||||
@ -760,7 +762,7 @@ class EdtRec
|
||||
td.setAttribute("align","right");
|
||||
button = document.createElement('input');
|
||||
button.setAttribute("type","button");
|
||||
button.style.cssText="width: 90px;";
|
||||
button.style.cssText="margin:0px;margin-right:1px;padding:0px;";
|
||||
button.setAttribute("value",_('Apply'));
|
||||
button.onclick=function(thiz){
|
||||
return function(){
|
||||
@ -768,9 +770,10 @@ class EdtRec
|
||||
};
|
||||
}(this);
|
||||
td.appendChild( button );
|
||||
|
||||
button = document.createElement('input'); //Button cancel
|
||||
button.setAttribute("type","button");
|
||||
button.style.cssText="width: 90px;";
|
||||
button.style.cssText="margin:0px;padding:0px;";
|
||||
button.setAttribute("value",_('Cancel'));
|
||||
//button.onclick=function f_exit(this) { alert(this.win.div); }
|
||||
button.onclick=function(thiz){ return function(){thiz.win.Close();};}(this);
|
||||
|
||||
@ -418,7 +418,7 @@
|
||||
if($val!='' && file_exists($dir.$flnm))
|
||||
{
|
||||
$path= $_SERVER['DOCUMENT_ROOT'].'/'.findFirstNodeOnAttribute($currNode,"prop","n",$nodePropData->getAttribute("n"))->getAttribute("path");
|
||||
@mkdir($path);//Создаём папку если её нет
|
||||
@mkdir($path); //Создаём папку если её нет
|
||||
if(!rename($dir.$flnm, $path.$flnm))
|
||||
sendError('Can\'t rename to "'.$path.$v.'"!');
|
||||
}
|
||||
|
||||
@ -538,7 +538,7 @@ function SRec()
|
||||
{
|
||||
var table=document.createElement('table');
|
||||
table.border=0;
|
||||
table.style.cssText="width:100%;table-layout:fixed;border-spacing:0;border-collapse:collapse;";
|
||||
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;";
|
||||
newRow=table.insertRow(0);
|
||||
var newCell1 = newRow.insertCell(0);
|
||||
newCell1.style.cssText="padding:0px;width:100%;";
|
||||
@ -562,7 +562,7 @@ function SRec()
|
||||
|
||||
|
||||
var img = document.createElement('img');
|
||||
img.src='../resources/engine/images/datepicker.jpg';
|
||||
img.src='../resources/metadata/dbms/images/datepicker.jpg';
|
||||
img.style.cssText="cursor: pointer;";
|
||||
newCell2.appendChild(img);
|
||||
|
||||
@ -584,7 +584,7 @@ function SRec()
|
||||
{
|
||||
var table=document.createElement('table');
|
||||
table.border=0;
|
||||
table.style.cssText="width:100%;table-layout:fixed;border-spacing:0;border-collapse:collapse;";
|
||||
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;";
|
||||
newRow=table.insertRow(0);
|
||||
var newCell1 = newRow.insertCell(0);
|
||||
newCell1.style.cssText="padding:0px;width:100%;";
|
||||
@ -608,7 +608,7 @@ function SRec()
|
||||
|
||||
|
||||
var img = document.createElement('img');
|
||||
img.src='../resources/engine/images/datepicker.jpg';
|
||||
img.src='../resources/metadata/dbms/images/datepicker.jpg';
|
||||
img.style.cssText="cursor: pointer;";
|
||||
newCell2.appendChild(img);
|
||||
|
||||
@ -685,14 +685,14 @@ function SRec()
|
||||
{
|
||||
var table=document.createElement('table');
|
||||
table.border=0;
|
||||
table.style.cssText="width:100%;table-layout:fixed;border-spacing:0;border-collapse:collapse;";
|
||||
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;";
|
||||
newRow=table.insertRow(0); //We add a row in the created table.
|
||||
var newCell1 = newRow.insertCell(0);
|
||||
newCell1.style.cssText="padding:0px;width:100%;";
|
||||
newCell1.style.cssText="padding:0px;padding-right:1px;width:100%;";
|
||||
var newCell2 = newRow.insertCell(1);
|
||||
newCell2.style.cssText="padding:0px;width:25px;";
|
||||
newCell2.style.cssText="padding:0px;padding-right:1px;height:100%;";
|
||||
var newCell3 = newRow.insertCell(2);
|
||||
newCell3.style.cssText="padding:0px;width:25px;";
|
||||
newCell3.style.cssText="padding:0px;width:25px;height:100%;";
|
||||
|
||||
input = document.createElement('input');
|
||||
input.style.cssText="width: 100%;";
|
||||
@ -708,14 +708,14 @@ function SRec()
|
||||
button = document.createElement('input');
|
||||
button.setAttribute("type","button");
|
||||
button.setAttribute("value","+");
|
||||
button.style.cssText="height:22px;width:22px;";
|
||||
button.style.cssText="height:100%;width:22px;margin:0px;padding:0px;";
|
||||
newCell2.appendChild( button );
|
||||
button.onclick=function(inp){return function(){ inp.value=getIntVal(inp.value)+1; }}(input);
|
||||
|
||||
button = document.createElement('input');
|
||||
button.setAttribute("type","button");
|
||||
button.setAttribute("value","-");
|
||||
button.style.cssText="height:22px;width:22px;";
|
||||
button.style.cssText="height:100%;width:22px;margin:0px;padding:0px;";
|
||||
button.onclick=function(inp){return function(){ inp.value=getIntVal(inp.value)-1; }}(input);
|
||||
newCell3.appendChild( button );
|
||||
|
||||
@ -743,7 +743,7 @@ function SRec()
|
||||
var table=document.createElement('table');
|
||||
//table.setAttribute("bgColor","#0000FF")
|
||||
table.border=0;
|
||||
table.style.cssText="width:100%; table-layout:fixed;border-spacing:0;border-collapse:collapse;";
|
||||
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;";
|
||||
newRow=table.insertRow(0); //We add a row in the created table.
|
||||
var newCell1 = newRow.insertCell(0);
|
||||
newCell1.style.cssText="padding:0px; border: 0px solid #999999; width:100%;";
|
||||
@ -765,7 +765,7 @@ function SRec()
|
||||
button = document.createElement('input');
|
||||
button.setAttribute("type","button");
|
||||
button.setAttribute("value","...");
|
||||
button.style.cssText="display:block; box-sizing: border-box; width:100%; height:100%; font-size: 9pt;";
|
||||
button.style.cssText="display:block; box-sizing: border-box; margin: 0px; padding: 0px; width:100%; height:100%; font-size: 9pt;";
|
||||
button.onclick=function(thiz,val1,val2){return function(){thiz.SelectObjects(val1,val2);};}(this,object,columnNode.getAttribute("n"));
|
||||
newCell2.appendChild(button);
|
||||
|
||||
@ -832,7 +832,7 @@ function SRec()
|
||||
button = document.createElement('input');
|
||||
button.setAttribute("type","button");
|
||||
button.setAttribute("value","...");
|
||||
button.style.cssText="width:30px; height:22px;";
|
||||
button.style.cssText="width:30px; height:100%;margin: 0px; padding: 0px;";
|
||||
button.onclick=function(thiz,val1,val2)
|
||||
{ return function(){thiz.SelectObjects(val1,val2);};
|
||||
}(this,object,columnNode.getAttribute("n"));
|
||||
@ -1476,7 +1476,7 @@ function SRec()
|
||||
//We run through the marked records and request their removal
|
||||
this.deleteRecord=function(recordid)
|
||||
{
|
||||
if (confirm(_("Are_you_sure_you_want_to_delete_the_entries")))
|
||||
if (confirm(_("Are_you_sure_you_want_to_delete_the_entries")+'?'))
|
||||
{
|
||||
for(var i=0;i<this.masChBox.length;i++)
|
||||
{
|
||||
|
||||
@ -51,16 +51,18 @@ String.prototype.stripTags = function() {
|
||||
};
|
||||
|
||||
//Показать прогрес бар
|
||||
function showProgressBar(obj)
|
||||
function showProgressBar(obj,img)
|
||||
{
|
||||
if(img === undefined) img='';
|
||||
|
||||
if (typeof obj === 'string' || obj instanceof String)
|
||||
obj=document.getElementById(obj);
|
||||
if(obj===null) return;
|
||||
if(obj.style.position!='absolute') obj.style.position = 'relative';
|
||||
pBarDiv=document.createElement('div');
|
||||
let pBarDiv=document.createElement('div');
|
||||
pBarDiv.id=obj.id+'_pBar';
|
||||
pBarDiv.style.cssText='position: absolute; left: 0px; top: 0px; z-index: 1; background-color: rgba(0,0,0,0.5); width:100%; height: 100%;';
|
||||
pBarDiv.innerHTML='<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="center" style="vertical-align: middle;"><img src="../resources/metadata/dbms/images/loading.gif" alt=""></td></tr></table>';
|
||||
pBarDiv.innerHTML='<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="center" style="vertical-align: middle;"><img src="../resources/metadata/dbms/images/loading'+img+'.gif" alt=""></td></tr></table>';
|
||||
obj.appendChild(pBarDiv);
|
||||
};
|
||||
|
||||
@ -911,7 +913,7 @@ function TRequest(listener)
|
||||
};
|
||||
|
||||
if(listener.applyReq==null) alert('An object can not be found the function: "applyReq()"!');
|
||||
//if(listener.name==null) alert('An object can not be found the propenty: "name"!');
|
||||
//if(listener.name==null) alert('An object can not be found the propenty: "name"!'); незачем
|
||||
this.winObj=listener;
|
||||
//private
|
||||
this.m_seq=0;
|
||||
@ -1112,19 +1114,19 @@ function TWin(dialog)
|
||||
str+='<table id="TWin_TBL_'+this.tWinId+'" class="shadow" bgcolor="#f1f1f1" border="0px" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%; border: 1px solid #000000;">';
|
||||
str+=' <tr id="TWin_H0_'+this.tWinId+'" style="background: url(../resources/metadata/dbms/form/g.gif) repeat-x;"><td></td><td><table cellspacing="0" cellpadding="0" style="width: 100%; height: 29px;"><tr><td id="TWin_Ca_'+this.tWinId+'" style="vertical-align: middle; cursor: move; font-weight: bold; white-space: nowrap;"></td><td style="width: 10px; vertical-align: middle;"><img src="../resources/metadata/dbms/form/x.gif" id="TWin_CL_'+this.tWinId+'" style="cursor:pointer;"></td></tr></table></td><td></td></tr>';
|
||||
str+=' <tr>';
|
||||
str+=' <td style="width: 5px; height: 5px; cursor:nw-resize;" id="TWin_TL_'+this.tWinId+'"><img src="../resources/metadata/dbms/form/5.gif" alt="" style="display: block;" border="0px" draggable="false"></td>';
|
||||
str+=' <td style="vertical-align:top;height: 5px; cursor:n-resize;" id="TWin_T_'+this.tWinId+'"></td>';
|
||||
str+=' <td style="width: 5px; height: 5px; cursor:ne-resize;" id="TWin_TR_'+this.tWinId+'"><img src="../resources/metadata/dbms/form/5.gif" alt="" style="display: block;" border="0px" draggable="false"></td>';
|
||||
str+=' <td style="width: 5px; height: 5px;'+(!this.dialog ? ' cursor:nw-resize;' : '')+'" id="TWin_TL_'+this.tWinId+'"><img src="../resources/metadata/dbms/form/5.gif" alt="" style="display: block;" border="0px" draggable="false"></td>';
|
||||
str+=' <td style="vertical-align:top;height: 5px;'+(!this.dialog ? ' cursor:n-resize;' : '')+'" id="TWin_T_'+this.tWinId+'"></td>';
|
||||
str+=' <td style="width: 5px; height: 5px;'+(!this.dialog ? ' cursor:ne-resize;' : '')+'" id="TWin_TR_'+this.tWinId+'"><img src="../resources/metadata/dbms/form/5.gif" alt="" style="display: block;" border="0px" draggable="false"></td>';
|
||||
str+=' </tr>';
|
||||
str+=' <tr style="height: 100%">';
|
||||
str+=' <td style="height: 5px; cursor:w-resize;" id="TWin_L_'+this.tWinId+'"></td>';
|
||||
str+=' <td style="height: 5px;'+(!this.dialog ? ' cursor:w-resize;' : '')+'" id="TWin_L_'+this.tWinId+'"></td>';
|
||||
str+=' <td style="vertical-align:top;cursor:default;"><table border="0px" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;"><tr><td id="TWin_Co_'+this.tWinId+'" style="vertical-align:top;"></td></tr></table></td>';
|
||||
str+=' <td style="height: 5px; cursor:e-resize;" id="TWin_R_'+this.tWinId+'"></td>';
|
||||
str+=' <td style="height: 5px;'+(!this.dialog ? ' cursor:e-resize;' : '')+'" id="TWin_R_'+this.tWinId+'"></td>';
|
||||
str+=' </tr>';
|
||||
str+=' <tr>';
|
||||
str+=' <td style="width: 5px; height: 5px; cursor:sw-resize;" id="TWin_BL_'+this.tWinId+'"><img src="../resources/metadata/dbms/form/5.gif" alt="" style="display: block;" border="0px" draggable="false"></td>';
|
||||
str+=' <td style="vertical-align:top; height: 5px; cursor:s-resize;" id="TWin_B_'+this.tWinId+'"></td>';
|
||||
str+=' <td style="width: 5px; height: 5px; cursor:se-resize;" id="TWin_BR_'+this.tWinId+'"><img src="../resources/metadata/dbms/form/5.gif" alt="" style="display: block;" border="0px" draggable="false"></td>';
|
||||
str+=' <td style="width: 5px; height: 5px;'+(!this.dialog ? ' cursor:sw-resize;' : '')+'" id="TWin_BL_'+this.tWinId+'"><img src="../resources/metadata/dbms/form/5.gif" alt="" style="display: block;" border="0px" draggable="false"></td>';
|
||||
str+=' <td style="vertical-align:top; height: 5px;'+(!this.dialog ? ' cursor:s-resize;' : '')+'" id="TWin_B_'+this.tWinId+'"></td>';
|
||||
str+=' <td style="width: 5px; height: 5px;'+(!this.dialog ? ' cursor:se-resize;' : '')+'" id="TWin_BR_'+this.tWinId+'"><img src="../resources/metadata/dbms/form/5.gif" alt="" style="display: block;" border="0px" draggable="false"></td>';
|
||||
str+=' </tr>';
|
||||
str+='</table>';
|
||||
|
||||
|
||||
@ -190,7 +190,7 @@ function selfURL()
|
||||
{
|
||||
if(!isset($_SERVER['REQUEST_URI'])){ $suri = $_SERVER['PHP_SELF']; }
|
||||
else { $suri = $_SERVER['REQUEST_URI']; }
|
||||
$s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : "";
|
||||
$s = empty($_SERVER["HTTPS"]) ? '' : (($_SERVER["HTTPS"] == "on") ? "s" : "");
|
||||
$sp=strtolower($_SERVER["SERVER_PROTOCOL"]);
|
||||
$pr = substr($sp,0,strpos($sp,"/")).$s;
|
||||
$pt = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":".$_SERVER["SERVER_PORT"]);
|
||||
@ -202,7 +202,7 @@ function selfDomain()
|
||||
{
|
||||
//if(!isset($_SERVER['REQUEST_URI'])) $suri = $_SERVER['PHP_SELF'];
|
||||
//else $suri = $_SERVER['REQUEST_URI'];
|
||||
$s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : "";
|
||||
$s = empty($_SERVER["HTTPS"]) ? '' : (($_SERVER["HTTPS"] == "on") ? "s" : "");
|
||||
$sp=strtolower($_SERVER["SERVER_PROTOCOL"]);
|
||||
$pr = substr($sp,0,strpos($sp,"/")).$s;
|
||||
$pt = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":".$_SERVER["SERVER_PORT"]);
|
||||
|
||||
Reference in New Issue
Block a user