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

📄 gen_confirm_mem.php

📁 通达OA部分源代码
💻 PHP
字号:
<?php
function main()
{
?>
<table width="80%" border="0" align="center" cellpadding="1" cellspacing="0">
  <tr> 
    <td></td>
  </tr>
  <tr height="20"> 
    <td ></td>
  </tr><?php
  if(isset($_REQUEST["errmsg"])&&($_REQUEST["errmsg"]<>""))
  {
  ?><tr>
    <td>        
      <table width="100%" border="0" align="center" cellpadding="5" cellspacing="0" class="msgstyle">
        <tr align="left"> 
          <td width="102%" colspan="2"><strong><?php echo $_REQUEST["errmsg"];?></strong></td>
        </tr>
        <?php
		if(isset($_REQUEST["err"])&&($_REQUEST["err"]<>""))
		{
		 $return_path=$_REQUEST["err"].".php";
		 if(isset($_REQUEST["id"])&&($_REQUEST["id"]<>""))
		 { $return_path.="?sb_id=".$_REQUEST["id"];} 
		
        ?>
        <tr> 
          <td align="center">&nbsp;</td>
          <td align="left"> Click <a href="<?php echo $return_path;?>">here</a> 
            to try again.</td>
        </tr>
        <?php
		}
	  if(isset($_REQUEST["sb_type"])&&($_REQUEST["sb_type"]<>0))
	  {
	  $img_path="";
	  $img_msg="";
	  $msg="";
		switch($_REQUEST["sb_type"])
		{
			case 1:
				$return_path="view_offer.php?id=".$_REQUEST["id"];
				$msg=" to view updated/added sell offer."; 
				$img_path="view_images.php?sb_id=".$_REQUEST["id"];
				$img_msg=" to add images for the updated/added sell offer.";
				break;
			case 2:
				$return_path="view_offer_buy.php?id=".$_REQUEST["id"];
				$msg=" to view updated/added buy offer."; 
				$img_path="";
				$img_msg="";
				break;
			case 3:
				$return_path="view_product.php?id=".$_REQUEST["id"];
				$msg=" to view updated/added product catalog."; 
				$img_path="view_images_product.php?sb_id=".$_REQUEST["id"];
				$img_msg=" to add images for the updated/added product catalog.";
				break;
			case 4:
				$return_path="view_profile.php?id=".$_REQUEST["id"];
				$msg=" to view company profile."; 
				$img_path="";
				$img_msg="";
				break;
		}

  ?>
        <tr> 
          <td align="center">&nbsp;</td>
          <td align="left">Click <a href="<?php echo $return_path;?>">here</a><?php echo $msg;?> 
          </td>
        </tr><?php
		if(($img_path<>"")&&($img_msg<>""))
        {
		
		?><tr> 
          <td align="center">&nbsp;</td>
          <td align="left">Click <a href="<?php echo $img_path;?>" target="_blank">here</a><?php echo $img_msg;?> 
          </td>
        </tr>
        <?php
		}
  }
	  if(isset($_REQUEST["sb_type"])&&($_REQUEST["sb_type"]<>0))
	  {
	  $msg="";
			switch($_REQUEST["sb_type"])
		{
			case 1:
				$return_path="post_offer.php";
				$msg=" to post new sell offer."; 
				break;
			case 2:
				$return_path="post_offer_buy.php";
				$msg=" to post new buy offer."; 
				break;
			case 3:
				$return_path="post_product.php";
				$msg=" to post new product catalog."; 
				break;
			case 4:
				$return_path="companyprofile.php";
				$msg=" to edit company profile."; 
				break;
		}

  ?>
        <tr> 
          <td align="center">&nbsp;</td>
          <td align="left">Click <a href="<?php echo $return_path;?>">here</a><?php echo $msg;?> 
          </td>
        </tr>
        <?php
  }

 	if($_SESSION["sbbleads_memtype"]>1)
	 {      
        ?>
        <tr> 
          <td align="center">&nbsp;</td>
          <td align="left"> Click <a href="choose_membership.php">here</a> to 
            upgrade your membership. </td>
        </tr>
        <?php
		}
        ?>
        <tr> 
          <td align="center">&nbsp;</td>
          <td align="left"> Click <a href="manage_offers.php">here</a> to manage 
            sell offers. </td>
        </tr>
        <tr> 
          <td align="center">&nbsp;</td>
          <td align="left">Click <a href="manage_offers_buy.php">here</a> to manage 
            buy offers. </td>
        </tr>
        <tr> 
          <td align="center">&nbsp;</td>
          <td align="left">Click <a href="manage_products.php">here</a> to manage 
            product catalogs offers. </td>
        </tr>
        <tr> 
          <td align="center">&nbsp;</td>
          <td align="left">Click <a href="companyprofile.php">here</a> to manage 
            company profile. </td>
        </tr>
        <tr> 
          <td align="center">&nbsp;</td>
          <td align="left">Click <a href="logout.php">here</a> to logout. </td>
        </tr>
      </table>
      
    </td>
  </tr><?php
  }
  ?><tr> 
    <td> <div align="center"> </div></td>
  </tr>
</table>
  
<? 
}// end of main()
include "template1.php";
?>

⌨️ 快捷键说明

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