BVB Source Codes

Cloud on the CMS (SyCms) v1.95 Show Lists.aspx Source code

Return Download Cloud on the CMS (SyCms) v1.95: download Lists.aspx Source code - Download Cloud on the CMS (SyCms) v1.95 Source code - Type:.aspx
  1. <%@ Page Language="C#" AutoEventWireup="true" Inherits="SyCms.Admin.ArtiInfo.Lists" %>
  2. <%if (action.Equals("view"))
  3.   { %>
  4. <div class="Rtop">
  5.     <div class="RlmM">
  6.         <%=ClassName%>{调用<%=FieldType%>}:</div>
  7. </div>
  8. <div class="Tgnk">
  9.     <div class="gnANk">
  10.         <span style="float:right;padding-right:5px;" id="SearchArtiInfo">
  11.             <input type="text" name="title" style="float:left;"><input type="button" name="button\" value="搜 索" onclick="$('#Classflex1').flexReload(ReadInputValue('SearchArtiInfo'));" icon="icon-search" />
  12.         </span>
  13.         <%if (IsAdd)
  14.           { %>
  15.         <input type="submit" name="button" onclick="CreateWindow('ArtiInfo/Add.aspx?FieldType=<%=FieldType %>&Type=<%=Type %>&ClassID=<%=ClassID %>', '添加','ArtiInfo/Add.aspx?action=save&Type=<%=Type %>&FieldType=<%=FieldType %>&View=<%=View %>',300, 140,'ClassInfoAdd')" value="添加" icon='icon-add' />
  16.         <%}
  17.         if (IsOrder)
  18.         { %>
  19.         <input type="submit" name="button" onclick="AjaxFun('ArtiInfo/Order.aspx?FieldType=<%=FieldType %>&Type=<%=Type %>&ClassID=<%=ClassID %>&action=view&View=<%=View %>',ReadInputValue('Classflex1View'),'正在排序中...');" value="保存排序" icon="icon-table_Sort" />
  20.         <%}
  21.           if(IsOperate && Base.Fun.fun.pnumeric(ClassID))
  22.         { %>
  23.         <input type="submit" name="button" onclick="CreateWindow('ArtiInfo/Operate.aspx?FieldType=<%=FieldType %>&Type=<%=Type %>&ClassID=<%=ClassID %>', '栏目规则','ArtiInfo/Operate.aspx?action=save&FieldType=<%=FieldType %>&View=<%=View %>',400, 180,'ClassInfoSetup')" value="设置规则" icon='icon-collapse-all' />
  24.         <%}%>
  25.     </div>
  26. </div>
  27. <div class="RtbK" id="Classflex1View">
  28.     <table id="Classflex1" style="display: none;">
  29.     </table>
  30. <script type="text/javascript">
  31.     var gridList= $("#Classflex1").flexigrid
  32.     (
  33.     {
  34.         url: 'ArtiInfo/Lists.aspx?Type=<%=Type%>&ClassID=<%=ClassID%>&FieldType=<%=FieldType%>',
  35.         newp:<%=page %>,
  36.                 dataType: 'json',
  37.                 colModel: [
  38.                     { display: '编号', name: 'ID', width: 50, sortable: false, align: 'left' ,hide:true},
  39.                                 { display: '排序', name: 'OrderID', width: 50, sortable: false, align: 'left' ,process:OrderFun},
  40.                     { display: '标题', name: 'Title', width: 250,autoSize:true, sortable: false, align: 'left' ,process:TitleInfoFun},
  41.                     { display: '地址', name: 'Url', width: 200,autoSize:true, sortable: false, align: 'left',hide:true},
  42.                                 { display: '数量', name: 'Num', width: 40, sortable: false, align: 'center'},
  43.                                 { display: '范围', name: 'ClassID', width: 60, sortable: false, align: 'left',process:ClassFun},
  44.                     { display: '栏目名称', name: 'ClassName', width: 60, sortable: false,hide:true, align: 'left'}<%if (IsModi || IsDel){ %>,
  45.                                 { display: '操作管理', name: 'Q', width: 75, sortable: false, align: 'left',process:ManageFun }<%}%>
  46.                             ],
  47.                             showcheckbox:false,
  48.                             sortname: "OrderID",
  49.                             sortorder: "desc",
  50.                             usepager: true,
  51.                             singleSelect: false,
  52.                             useRp: false,
  53.                             rp: <%=Web.UI.Admin.System.SiteInfo.GetPageSize()%>,
  54.                             autoload:true,
  55.                             <%if(page=="1"){%>PageOneValue:<%=Web.UI.Admin.ArtiFun.Info.View(FieldType, Type, ClassID)%>,<%}%>
  56.                             showTableToggleBtn: false,
  57.                             showToggleBtn:false,
  58.                             width: 548,
  59.                             height: 360
  60.                         }
  61.                         );
  62.     function ClassFun(value,id,row)
  63.     {
  64.         if(value=="" || value=="0" || value=="&nbsp;")
  65.         {
  66.             return "全局";
  67.         }else{
  68.             return row.cell[6];
  69.         }
  70.     }
  71.     function TitleInfoFun(value,id)
  72.     {
  73.         return "["+id+"]"+value;
  74.     }
  75.     function OrderFun(value,id)
  76.     {
  77.         <%if(IsOrder){ %>
  78.         return "<input type='text' name='orderid' id='orderid' value='" + value + "' size='2' maxlength='5'><input type='hidden' name='orderid' id='orderid' value='" + id + "'>";
  79.         <%}else{ %>
  80.         return value;
  81.         <%} %>
  82.     }
  83.     function ManageFun(value,id)
  84.     {
  85.         var str=new Array();
  86.         <%if(IsModi){ %>
  87.         str.push("<a href=\"#\" onclick=\"GridModiy('"+id+"', 'ArtiInfo/Modi.aspx?FieldType=<%=FieldType%>', '修改', 'ArtiInfo/Modi.aspx?action=save&FieldType=<%=FieldType%>&Type=<%=Type%>&ClassID=<%=ClassID%>&View=<%=View%>', 300, 140, 'ClassInfoModiy');return false;\">修改</a>");
  88.         <%}%>
  89.         <%if(IsDel){%>
  90.         str.push("<a href=\"#\" onclick=\"GridDel('"+id+"','ArtiInfo/Del.aspx?Type=<%=Type%>&ClassID=<%=ClassID%>&FieldType=<%=FieldType%>&View=<%=View%>');return false;\">删除</a>");
  91.         <%}%>
  92.         return str.join(" | ");
  93.     }
  94. </script>
  95. </div>
  96. <%}else{
  97.       Response.Write(Web.UI.Admin.ArtiFun.Info.View(FieldType, Type, ClassID));
  98.   } %>
downloadLists.aspx Source code - Download Cloud on the CMS (SyCms) v1.95 Source code
Related Source Codes/Software:
SuperSocket v1.6.6 - SuperSocket the Socket is a lightweight and extens... 2016-08-19
Students' basic information input program v2.0 - 1, the program is based on. net4.0 framework and d... 2016-08-19
Student information input system v2.0 - 1, the program is based on. net4.0 framework and d... 2016-08-19
Baidu handwriting input source v1.0 - Baidu handwriting input method source code, no nee... 2016-08-19
Rui bao tong v1.0 JAVA version of B2B e-commerce system - Rainbow B2B system developed using the popular JAV... 2016-08-19
1.0 housing, rental housing sale platform - Rent housing rent out platform is a very typical r... 2016-08-19
Deng Xi v2.4 website help system - Deng Xi website help system is a very useful help ... 2016-08-19
Address book v1.0 FaLiang three layer - This Demo is a three layer address book source cod... 2016-08-19
Ray speed v7.0 wage query system - To modify the software to conduct a comprehensive ... 2016-08-19
Easy to point the content management system DianCMS v6.0.0 SQL version - Easy content management system (DianCMS) is based ... 2016-08-19
www.html5rocks.com - ....a top-notch resource for web developer 2017-05-12
MTStatusBarOverlay - A custom iOS status bar overlay seen in Apps like ... 2017-05-12
blueprint - Reverse engineer server configuration ... 2017-05-12
PullToRefresh - A simple iPhone TableViewController for adding the... 2017-05-12
mrjob - Run MapReduce jobs on Hadoop or Amazon Web Service... 2017-05-11
wax - Wax is now being maintained by alibaba ... 2017-05-11
ledisdb - a high performance NoSQL powered by Go ... 2017-05-11
d3-cloud - Create word clouds in JavaScript. ... 2017-05-11
react-makes-you-sad - Here's a flowchart to make you happy again! 2017-05-11
flat-surface-shader - Flat Surface Shader for rendering lit triangles to... 2017-05-11

 Back to top