码迷,mamicode.com
首页 > 微信 > 详细

微信公共平台C#源代码

时间:2015-04-19 14:28:27      阅读:260      评论:0      收藏:0      [点我收藏+]

标签:

 

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WeChat.Default" %><!DOCTYPE html>
<html lang="zh">
<head>
    <title><%=_titleName%>|微信公众帐号管理系统 - Weback</title>
    <meta charset="UTF-8" />
    <link rel="stylesheet" href="res/bootstrap.min.css" />
    <link rel="stylesheet" href="res/wlniao-style.css" />
    <link rel="stylesheet" href="res/wlniao-iframe.css" />
    <link rel="stylesheet" href="res/wln/font/font-wlniao.css" />
    <script src="res/wln/wlniao.com.js" type="text/javascript"></script>
</head>
<body style=" overflow:hidden;">
<div id="header"><h1><a href="#" class="tip-bottom" title="Weback">Weback</a></h1></div>
<div id="user-nav" class="navbar navbar-inverse">
  <ul class="nav">
    <li class=""><a title="" href="javascript:GotoPage(‘base/setting.aspx‘);"><i class="icon icon-cog"></i> <span class="text">微信设置</span></a></li>
    <li class=""><a title="" href="javascript:GotoPage(‘base/fans.aspx‘);"><i class="icon icon-group"></i> <span class="text">订阅者</span><script src="base/fans.aspx?action=getnewcount"></script> </a></li>
    <li class=""><a title="" href="javascript:GotoPage(‘base/account.aspx‘);"><i class="icon icon-user"></i> <span class="text">管理员</span></a></li>
    <li class=""><a title="" href="logout.aspx"><i class="icon-key"></i> <span class="text">注销登录</span></a></li>
  </ul>
  <div style="clear:both;"></div>
</div>
<div id="sidebar">
  <ul>
    <li class="menuli"><a href="javascript:GotoPage(‘main.aspx‘);"><i class="icon icon-wlniao"></i> <span>概况</span></a> </li>
    <li class="menuli"><a href="javascript:GotoPage(‘base/QueryMsg.aspx‘);"><i class="icon icon-th"></i> <span>访问记录</span></a></li>
    <li class="menuli"><a href="javascript:GotoPage(‘base/rulesauto.aspx‘);"><i class="icon icon-th"></i> <span>自动回复规则</span></a></li>
    <li class="menuli"><a href="javascript:GotoPage(‘base/rulesmethod.aspx‘);"><i class="icon icon-edit"></i> <span>代码处理规则</span></a></li>
    <li class="menuli"><a href="javascript:GotoPage(‘base/mybutton.aspx‘);"><i class="icon icon-inbox"></i> <span>自定义菜单</span></a></li>
    <li class="menuli"><a href="javascript:GotoPage(‘http://weback.wlniao.com‘);"><i class="icon icon-info-sign"></i> <span>关于程序</span></a></li>
  </ul>
</div>
<div id="content" style="margin-top:-38px;"></div>
<div class="row-fluid">
  <div id="footer" class="span12"> 2013 © <a href="http://weback.wlniao.com/" target="_blank">Weback</a>    技术支持:<a href="http://www.wlniao.com/" target="_blank">Wlniao Studio</a> </div>
</div>
<script src="res/jquery.min.js"></script>
<script src="res/wlniao.js"></script>
<script src="res/artDialog/jquery.artDialog.js?skin=twitter" type="text/javascript"></script>
<script src="res/artDialog/plugins/iframeTools.js" type="text/javascript"></script>
<script type="text/javascript">
    var iHeight = 0;
    function init() {
        var winHeight = $(window).height();
        iHeight = winHeight - 70;
        $("#content").height(iHeight);
    }
    init();
    var frameid = "iframepage";
    function setFrameHeight(height) {
        try {
            document.getElementById(frameid).height = height;
        } catch (e) { }
    }
    function iFrameHeight() {
        var ifm = document.getElementById(frameid);
        try {
            var subWeb = document.frames ? document.frames[frameid].document : ifm.contentDocument;
            if (ifm != null) {
                if (subWeb == null) {
                    ifm.height = ifm.ownerDocument.body.scrollHeight;
                    ifm.scrolling = "auto";
                } else {
                    ifm.height = subWeb.body.scrollHeight;
                }
            }
        } catch (e) {}
    }
    function GotoPage(url) {
        var now = new Date();
        var html = ‘<iframe id="‘ + frameid + ‘" src="‘ + url + ‘" frameborder="0" marginheight="0" marginwidth="0" scrolling="auto" width="100%" height="‘ + iHeight + ‘"></iframe> ‘;
        document.getElementById(‘content‘).innerHTML = html;
    }
    GotoPage(‘main.aspx‘);
</script>
</body>
</html>

  

技术分享

 

微信公共平台C#源代码

标签:

原文地址:http://www.cnblogs.com/reno2020/p/4439005.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!