protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         C_CopyRight.CheckLogin();
         CheckHasRule();
         if (GeneralID > 0)
         {
             M_CommonData conMod = conBll.SelReturnModel(GeneralID);
             NodeID       = conMod.NodeID;
             ModelID      = conMod.ModelID;
             Title_T.Text = conMod.Title;
             DataTable conDT = DBCenter.Sel(conMod.TableName, "ID=" + conMod.ItemID);
             if (conDT.Rows.Count > 0 && conDT.Columns.Contains("content"))
             {
                 content_t.Text = conDT.Rows[0]["content"].ToString();
             }
         }
         else
         {
             NodeID = 1; ModelID = 2;
         }
         M_Node      nodeMod = nodeBll.SelReturnModel(NodeID);
         M_ModelInfo model   = modelBll.SelReturnModel(ModelID);
         string      bread   = "<li><a href='" + CustomerPageAction.customPath2 + "I/Main.aspx'>" + Resources.L.工作台 + "</a></li><li><a href='ContentManage.aspx'>" + Resources.L.内容管理 + "</a></li><li><a href='ContentManage.aspx?NodeID=" + nodeMod.NodeID + "'>" + nodeMod.NodeName + "</a></li>";
         bread += "<li class='active'>[向本栏目添加" + model.ItemName + "]</li>";
         Call.SetBreadCrumb(Master, bread);
     }
 }
Пример #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         C_CopyRight.CheckLogin();
         auth_ifr.Attributes.Add("src", "http://sale.banquanyin.com/authorization/");
         Call.SetBreadCrumb(Master, "<li><a href='" + CustomerPageAction.customPath2 + "I/Main.aspx'>工作台</a></li><li><a href='" + CustomerPageAction.customPath2 + "Plus/ADManage.aspx'>扩展功能</a></li><li><a  href=\"Config.aspx\">版权中心</a></li><li class=\"active\">我的授权</li>");
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     //copyBll.Redirect_URI = Request.Url.ToString();
     if (!IsPostBack)
     {
         C_CopyRight.CheckLogin();
         workslist_ifr.Attributes.Add("src", "http://sale.banquanyin.com/works/get_list/all");
         Call.SetBreadCrumb(Master, "<li><a href='" + CustomerPageAction.customPath2 + "I/Main.aspx'>工作台</a></li><li><a href='" + CustomerPageAction.customPath2 + "Plus/ADManage.aspx'>扩展功能</a></li><li><a  href=\"Config.aspx\">版权中心</a></li><li class=\"active\">作品列表[<a href=\"AddWorks.aspx\">添加作品</a>]</li>");
     }
 }
Пример #4
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         C_CopyRight.CheckLogin();
         Prompt_Div.Visible = (DeviceHelper.GetBrower() == DeviceHelper.Brower.IE);
         config_ifr.Attributes.Add("src", "http://open.banquanyin.com/login");
         Call.SetBreadCrumb(Master, "<li><a href='" + CustomerPageAction.customPath2 + "I/Main.aspx'>工作台</a></li><li><a href='" + CustomerPageAction.customPath2 + "Plus/ADManage.aspx'>扩展功能</a></li><li><a  href=\"Register.aspx\">版权中心</a></li><li class=\"active\">版权配置 [<i class='fa  fa-check-circle-o'></i>配置信息验证成功,请登陆管理版权收入][<a href='" + CustomerPageAction.customPath2 + "/Config/PlatInfoList.aspx'>重新配置</a>]</li>");
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     //copyBll.Redirect_URI = Request.Url.ToString();
     if (!IsPostBack)
     {
         C_CopyRight.CheckLogin();
         MyBind(Skey);
         //Call.SetBreadCrumb(Master, "<li><a href='" + CustomerPageAction.customPath2 + "I/Main.aspx'>工作台</a></li><li><a href='" + CustomerPageAction.customPath2 + "Plus/ADManage.aspx'>扩展功能</a></li><li><a  href=\"Config.aspx\">版权中心</a></li><li class=\"active\">作品列表[<a href=\"AddWorks.aspx\">添加作品</a>]</li>");
     }
 }