⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 site_icons.php

📁 通达OA部分源代码
💻 PHP
📖 第 1 页 / 共 3 页
字号:
<?php

include_once "logincheck.php"; 
include_once "myconnect.php";
///////////////////////////////////////////////////////////////////////////////
///      THE CODE OF THIS SCRIPT HAS BEEN DEVELOPED BY SOFTBIZ SOLUTIONS  /////
///      AND IS MEANT TO BE USED ON THIS SITE ONLY AND IS NOT FOR REUSE,  /////
///      RESALE OR REDISTRIBUTION.                                        ///// 
///      IF YOU NOTICE ANY VIOLATION OF ABOVE PLEASE REPORT AT:           /////
///      admin@softbizscripts.com                                         /////
///      http://www.softbizscripts.com                                    /////
///      http://www.softbizsolutions.com                                  /////  
///////////////////////////////////////////////////////////////////////////////
function main()
{
$rs0=mysql_fetch_array(mysql_query("select * from sbbleads_config"));
$id=$rs0["sb_icon_list"];

if(isset($_REQUEST["id"]))
{
$id=$_REQUEST["id"];
}
//echo "select * from sbbleads_icons where id=$id";
$icon=mysql_fetch_array(mysql_query("select * from sbbleads_icons where sb_id=$id"));
?>
<script language="JavaScript" type="text/JavaScript">
<!--
function sb_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</script>

<script language="JavaScript">

					function attachment(box)
					{
					str="fileupload1.php?box="  + box;
					
					window.open(str,"Attachment","top=5,left=30,toolbars=no,maximize=yes,resize=yes,width=550,height=450,location=no,directories=no,scrollbars=yes");
					}
					
					function removeattachment1(box)
					{
					window.document.form123.list1.value="";
					}
					
					function removeattachment2(box)
					{
					window.document.form123.list2.value="";
					}
					
					function removeattachment3(box)
					{
					window.document.form123.list3.value="";
					}
					
					function removeattachment4(box)
					{
					window.document.form123.list4.value="";
					}
					
					function removeattachment5(box)
					{
					window.document.form123.list5.value="";
					}
					
					function removeattachment6(box)
					{
					window.document.form123.list6.value="";
					}
					
					function removeattachment7(box)
					{
					window.document.form123.list7.value="";
					}
					
					function removeattachment8(box)
					{
					window.document.form123.list8.value="";
					}
										
					function removeattachment9(box)
					{
					window.document.form123.list9.value="";
					}
					function removeattachment10(box)
					{
					window.document.form123.list10.value="";
					}
					function removeattachment11(box)
					{
					window.document.form123.list11.value="";
					}
					function removeattachment13(box)
					{
					window.document.form123.list13.value="";
					}
					function removeattachment14(box)
					{
					window.document.form123.list14.value="";
					}
					function removeattachment15(box)
					{
					window.document.form123.list15.value="";
					}
					function removeattachment16(box)
					{
					window.document.form123.list16.value="";
					}
					function removeattachment17(box)
					{
					window.document.form123.list17.value="";
					}
					function removeattachment18(box)
					{
					window.document.form123.list18.value="";
					}
	function validate(form)
	{
	if(form.title.value=="")
	{
	alert('Please enter Title');
	
	return false;
	}
	if(form.list1.value=="")
	{
	alert('Please choose an icon for How to Buy Button');
	return false;
	}
	if(form.list2.value=="")
	{
	alert('Please choose an icon for How to Sell Button');
	return false;
	}
	if(form.list3.value=="")
	{
	alert('Please choose an icon for Join Now Button');
	return false;
	}
	if(form.list4.value=="")
	{
	alert('Please choose an icon Member Home Button');
	return false;
	}
	if(form.list15.value=="")
	{
	alert('Please choose an icon for Latest Sell Offers Button');
	return false;
	}
	if(form.list16.value=="")
	{
	alert('Please choose an icon for Latest Buy Offers Button');
	return false;
	}
	if(form.list17.value=="")
	{
	alert('Please choose an icon for Latest Product Catalogs Button');
	return false;
	}
	if(form.list18.value=="")
	{
	alert('Please choose an icon Latest Company Profiles Button');
	return false;
	}
	if(form.list5.value=="")
	{
	alert('Please choose an icon for Send Inquiries');
	return false;
	}
	if(form.list6.value=="")
	{
	alert('Please choose an icon for Inquiry Basket');
	return false;
	}
	if(form.list7.value=="")
	{
	alert('Please choose an icon for Add to Contact List');
	return false;
	}
	if(form.list8.value=="")
	{
	alert('Please choose an icon for Add to Block List');
	return false;
	}
	if(form.list9.value=="")
	{
	alert('Please choose an icon for Add to Favorites');
	return false;
	}
	if(form.list10.value=="")
	{
	alert('Please choose an icon for View Company Profile');
	return false;
	}
	if(form.list11.value=="")
	{
	alert('Please choose an icon for Title Bar Bullet');
	return false;
	}
	/*if(form.list13.value=="")
	{
	alert('Please choose an icon for Member Option Bullet');
	return false;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -