Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 erroneous code on my product admin pages
Author « Topic »  

ortizwerx
Advanced Member

USA
198 Posts

Pre-sales questions only
(More Details...)

Posted - 04/21/2020 :  12:30:02  
Hi, Can you tell me how I can fix this please? Thanks, Eddie World of One Sixth

'; var scrwid=screen.width; var scrhei=screen.height; var newwin=window.open("","uploadimage",'menubar=no,scrollbars=yes,width='+winwid+',height='+winhei+',left='+((scrwid-winwid)/2)+',top=100,directories=no,location=no,resizable=yes,status=no,toolbar=no'); newwin.document.open(); newwin.document.write(prnttext); newwin.document.close(); newwin.focus(); } function imagemanager(){ if(document.getElementById('extraimages').style.display=='none'){ document.getElementById('extraimages').style.display=''; document.getElementById('lessimages').style.display='none'; document.getElementById('lessimages2').style.display='none'; document.getElementById('but_pImage').value="Close Image Mgr."; document.getElementById('pImage').disabled=true; document.getElementById('smallimup').style.display='none'; document.getElementById('moreimages').style.display=''; }else{ document.getElementById('extraimages').style.display='none'; document.getElementById('lessimages').style.display=''; document.getElementById('lessimages2').style.display=''; document.getElementById('but_pImage').value="Image Mgr."; document.getElementById('pImage').disabled=false; document.getElementById('smallimup').style.display=''; document.getElementById('moreimages').style.display='none'; } } function moreimagefn(){ var thetable=document.getElementById('extraimagetable'); var currmax=parseInt(document.getElementById('maximgindex').value); for(imindx=currmax; imindx '; newcell=newrow.insertCell(1); newcell.style.whiteSpace='nowrap'; newcell.innerHTML='
'; newcell=newrow.insertCell(2); newcell.style.whiteSpace='nowrap'; newcell.innerHTML='
'; } document.getElementById('maximgindex').value=imindx; } function setstatic(setting){ if(setting==0){ document.getElementById('staticpagediv').style.display=''; document.getElementById('staticurldiv').style.display='none'; }else{ document.getElementById('staticpagediv').style.display='none' document.getElementById('staticurldiv').style.display=''; } } function displaymultilangname(){ for(var index=2;index<=3;index++){ if(document.getElementById('pName'+index))document.getElementById('pName'+index).style.display='block'; } } function getectobj(objid){ return(document.getElementById(objid)); } function expandckeditor(objtxt,editornumber){ for(index=1;index<=3;index++){ if(document.getElementById('editordiv'+objtxt.substr(0,4)+index)){ document.getElementById('editordiv'+objtxt.substr(0,4)+index).style.display='block'; } } if(document.getElementById('editordiv'+objtxt.substr(0,4)+editornumber)){ document.getElementById('editordiv'+objtxt.substr(0,4)+editornumber).style.border='none'; document.getElementById('editordiv'+objtxt.substr(0,4)+editornumber).style.padding=0; } getectobj('descshort').style.width=objtxt.substr(0,4)=='pDes'?'60%':'40%'; getectobj('desclong').style.width=objtxt.substr(0,4)=='pDes'?'40%':'60%'; } function displaymultilangdescs(islongdesc,thisobj){ var setobj; for(var index=2;index<=3;index++){ if(document.getElementById('pDescription'+index))document.getElementById('pDescription'+index).style.display='block'; if(document.getElementById('pLongDescription'+index))document.getElementById('pLongDescription'+index).style.display='block'; } for(var index=1;index<=3;index++){ if(!islongdesc){ if(setobj=getectobj('pDescription'+(index==1?'':index)))setobj.style.width='500px'; if(setobj=getectobj('pLongDescription'+(index==1?'':index)))setobj.style.width='300px'; if(index==thisobj){ if(setobj=getectobj('pDescription'+(index==1?'':index)))setobj.style.height='200px'; if(setobj=getectobj('pLongDescription'+(index==1?'':index)))setobj.style.height='100px'; }else{ if(setobj=getectobj('pDescription'+(index==1?'':index)))setobj.style.height='100px'; if(setobj=getectobj('pLongDescription'+(index==1?'':index)))setobj.style.height='100px'; } } if(islongdesc){ if(setobj=getectobj('pDescription'+(index==1?'':index)))setobj.style.width='300px'; if(setobj=getectobj('pLongDescription'+(index==1?'':index)))setobj.style.width='500px'; if(index==thisobj){ if(setobj=getectobj('pDescription'+(index==1?'':index)))setobj.style.height='100px'; if(setobj=getectobj('pLongDescription'+(index==1?'':index)))setobj.style.height='200px'; }else{ if(setobj=getectobj('pDescription'+(index==1?'':index)))setobj.style.height='100px'; if(setobj=getectobj('pLongDescription'+(index==1?'':index)))setobj.style.height='100px'; } } } } function checkrequiredfields(){ document.getElementById('newid').style.borderColor=(document.getElementById('newid').value.replace(/ /g,'')==''?'red':''); document.getElementById('pName').style.borderColor=(document.getElementById('pName').value.replace(/ /g,'')==''?'red':''); document.getElementById('pPrice').style.borderColor=(document.getElementById('pPrice').value.replace(/ /g,'')==''?'red':''); document.getElementById('psection').style.borderColor=(document.getElementById('psection').selectedIndex==0?'red':''); } function createextrapbrow(tnum){ var rownum=parseInt(document.getElementById('pricebreakrows').value); if(rownum==tnum){ rownum++; document.getElementById('pricebreakrows').value=rownum; var newdiv=document.createElement('div'); newdiv.style.display='table-row'; newdiv.style.fontSize='11px'; newdiv.innerHTML='
' + '
' + '' + '
' + ''; document.getElementById('pricebreaktable').appendChild(newdiv); } } /* ]]> */

Eddie Ortiz

dbdave
ECT Moderator

USA
10410 Posts

Posted - 04/21/2020 :  13:28:39  
Hi, that is some stats tracking from you host - I guess you are using godaddy maybe?

This comes up on the forum from time to time the the search feature is great to solving these issues.

https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=110719

Thanks,
David

ortizwerx
Advanced Member

USA
198 Posts

Pre-sales questions only
(More Details...)

Posted - 04/21/2020 :  13:37:03  
Thank you!

Eddie Ortiz

Vince
Administrator

42766 Posts

Posted - 04/23/2020 :  00:34:22  
Hi Eddie
I made some changes recently to stop another host messing with the code with their stats software. Could you send me the site FTP login details to my email (vince AT ecommercetemplates DOT com) so I can check how your host is doing this and maybe that way find a workaround.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000