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

📄 insert_message_confirm.php

📁 通达OA部分源代码
💻 PHP
字号:
<?php
include_once "logincheck.php";
include_once "myconnect.php";
include_once "date_time_format.php";
include_once "check_msg_function.php";

function main()
{
$tid=$_REQUEST["tid"];

$to_mem=mysql_fetch_array(mysql_query("select * from sbbleads_members where sb_id=$tid"));
?>
<script language="JavaScript">
function win(box)
{
str="addcontact_popup.php?"  + box;

window.open(str,"Allot","top=5,left=30,toolbars=no,maximize=yes,resize=yes,width=350,height=150,location=no,directories=no,scrollbars=yes");
return false;
}

function win1(box)
{
str="addblock_popup.php?"  + box;

window.open(str,"Allot","top=5,left=30,toolbars=no,maximize=yes,resize=yes,width=350,height=150,location=no,directories=no,scrollbars=yes");
return false;
}
</script>
<table width="90%" border="0" align="center" cellpadding="5" cellspacing="0" class="msgstyle">
  <tr align="left"> 
    <td colspan="2"><strong><?php echo $_REQUEST["errmsg"];?></strong></td>
  </tr>
  <?
  if($_REQUEST["sb_type"]<>0)
  {
  		switch($_REQUEST["sb_type"])
		{
			case 1:
				$return_path="view_offer.php?id=".$_REQUEST["sb_id"];
				break;
			case 2:
				$return_path="view_offer_buy.php?id=".$_REQUEST["sb_id"];
				break;
			case 3:
				$return_path="view_product.php?id=".$_REQUEST["sb_id"];
				break;
			case 4:
				$return_path="view_profile.php?id=".$_REQUEST["sb_id"];
				break;
		}

  ?>
  <tr> 
    <td width="2%" align="center">&nbsp;</td>
    <td width="100%" align="left">Click <a href="<?php echo $return_path;?>">here</a> 
      to view offer/profile detail page. </td>
  </tr>
  <?php
  }
  ?>
  <tr> 
    <td align="center">&nbsp;</td>
    <td align="left">Click <a href="dummy.htm" onClick="return win('<?php echo "username=".$to_mem["sb_username"]; ?>');"  >here</a> to add user to your 
      contact list. </td>
  </tr>
  <tr> 
    <td align="center">&nbsp;</td>
    <td align="left">Click <a href="dummy.htm" onClick="return win1('<?php echo "username=".$to_mem["sb_username"]; ?>');"  >here</a> to add user to your 
      block list. </td>
  </tr>
  <tr> 
    <td align="center">&nbsp;</td>
    <td align="left">Click <a href="show_messages.php">here</a> to view all inquiries 
      sent/received by you. </td>
  </tr>
</table>
<?php
}// end main
if(isset($_REQUEST["sb_type"])&&($_REQUEST["sb_type"]<>""))
{include "template.php";}
else
{include "template1.php";}
?>

⌨️ 快捷键说明

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