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

📄 _vote.ascx

📁 热点社区论坛系统 v5.0.1 软件类别: .NET源码 / 论坛社区 软件语言: 简体中文 授权方式: 免费版 文件大小: 2.57M 系统平台: .NET+ACCESS
💻 ASCX
字号:
<%@ Import Namespace="HDLab.BBS" %>
<%@ Register TagPrefix="HDLabEditor" Namespace="HDLab.Editor" Assembly="HDLabEditor" %>
<%@ Register TagPrefix="HDLabBBS" Namespace="HDLab.BBS.Controls" Assembly="HDLabBBS" %>
<div class="titlebar" style="text-align: left; text-indent: 3px;">
    <asp:Literal ID="LitActionName" runat="server"></asp:Literal>
    <input type="hidden" name="UpFileRename">
</div>
<div class="listborder5" style="text-indent:5px; height:25px;">
    <div class="listbody5_l" style="width:200px; font-weight: bold; text-align: left;">用户名:</div>
    <div style="text-align: left; padding: 2px 0 0 2px; "><asp:TextBox ID="UserName" runat="server" Columns="20"></asp:TextBox></div>
</div>
<div class="listborder4" style="text-indent:5px; height:25px;">
    <div class="listbody5_l" style="width:200px; font-weight: bold; text-align: left;">密码:</div>
    <div style="text-align: left; padding: 2px 0 0 2px;"><asp:TextBox ID="UserPassword" runat="server" Columns="20" TextMode="Password"></asp:TextBox></div>
</div>
<div class="listborder4" style="text-indent:5px; height:25px;">
    <div class="listbody5_l" style="width:200px; font-weight: bold; text-align: left;">帖子名称:
        <select name="font" onchange="document.<%=base.Parent.Parent.ClientID%>.<%=Title.ClientID%>.value=this.value+document.<%=base.Parent.Parent.ClientID%>.<%=Title.ClientID%>.value;">
            <option selected value="">选择话题</option>
            <option value="[原创]">[原创]</option>
            <option value="[转帖]">[转帖]</option>
            <option value="[灌水]">[灌水]</option>
            <option value="[讨论]">[讨论]</option>
            <option value="[求助]">[求助]</option>
            <option value="[推荐]">[推荐]</option>
            <option value="[公告]">[公告]</option>
            <option value="[注意]">[注意]</option>
            <option value="[贴图]">[贴图]</option>
            <option value="[建议]">[建议]</option>
            <option value="[下载]">[下载]</option>
            <option value="[分享]">[分享]</option>
        </select>
    </div>       
    <div style="text-align: left; padding: 2px 0 0 2px;">
        <asp:TextBox ID="Title" Runat="server" Columns="50"></asp:TextBox>
        <HDLabBBS:DropDownDissertation id="MyTopicMode" Name="TopicMode" Runat="server" Text="所属专题" />
        <asp:DropDownList ID="TopicType" runat="server">
            <asp:ListItem Value="0">主题醒目</asp:ListItem>
            <asp:ListItem Value="1">红色醒目</asp:ListItem>
            <asp:ListItem Value="2">蓝色醒目</asp:ListItem>
            <asp:ListItem Value="3">绿色醒目</asp:ListItem>
            <asp:ListItem Value="4">HTML语法</asp:ListItem>
        </asp:DropDownList>(不得超过125个汉字。)
    </div>
</div>

<div class="listborder5" style="height:136px; text-indent:5px;">
    <div class="listbody5_l" style="width:200px; height: 136px; text-align: left;">
        <strong>投票项目:</strong>
        <select name="TimeOut" size="1">
            <option value="0" selected>过期时间</option>
            <option value="0">永不过期</option>
            <option value="1">一天</option>
            <option value="3">三天</option>
            <option value="7">一周</option>
            <option value="15">半月</option>
            <option value="30">一月</option>
            <option value="90">三月</option>
            <option value="180">半年</option>
        </select>
        <div>每行一个投票项目,最多<strong><asp:Literal ID="LitVoteOption" runat="server"></asp:Literal></strong>个</div>
        <div>超过自动作废,空行自动过滤</div>
        <div><input type="radio" name="VoteType" value="0" checked>单选投票</div>
        <div><input type="radio" name="VoteType" value="1">多选投票</div>
    </div>
    <div style="text-align: left; padding: 2px 0 0 2px;"><textarea name="VoteContent" cols="95" rows="8"></textarea></div>
</div>

<div class="listborder4" style="text-indent:5px; height:25px;">
    <div class="listbody5_l" style="width:200px; text-align: left;">参与投票限制:</div>
    <div style="text-align: left; padding: 2px 0 0 2px;">需要文章:<input type="text" name="UserPostCount" size="6" value="0">金钱:<input type="text" name="UserMoney" size="6" value="0">积分:<input type="text" name="UserExperience" size="6" value="0">魅力:<input type="text" name="UserCP" size="6" value="0">威望:<input type="text" name="UserPower" size="6" value="0"></div>
</div>
<div class="listborder5" style="height:56px;">
    <div class="listbody5_l" style="width:200px; height: 56px; font-weight: bold; text-indent:5px; text-align: left;">当前心情:</div>
    <div style="text-align: left; height: 56px;">
		<script language="JavaScript">
			<!--
				var Forum_PostFace='<% = SkinEngine.Current.ImageDirectory %>Face/|||face1.gif|||face2.gif|||face3.gif|||face4.gif|||face5.gif|||face6.gif|||face7.gif|||face8.gif|||face9.gif|||face10.gif|||face11.gif|||face12.gif|||face13.gif|||face14.gif|||face15.gif|||face16.gif|||face17.gif|||face18.gif|||';
				var Forum_PostFace=Forum_PostFace.split("\|\|\|");
				var j=0
				for (i=1;i<Forum_PostFace.length-1;i++)
				{
					document.write ('<input type="radio" value="'+Forum_PostFace[i]+'" name="Expression" ');
					if (i==1)
					{
						document.write ('checked');
					}
					document.write ('><img src='+Forum_PostFace[0]+Forum_PostFace[i]+' >&nbsp;&nbsp;');
					if (j==8)
					{ 
						j=0
						document.write ('<br />');
					}
					else
					{
						j++
					}
				}
			//-->
		</script>
    </div>
</div>
<div class="listborder4" style="text-indent:5px; height:25px;">
    <div class="listbody5_l" style="width:200px; font-weight: bold; text-align: left;">上传附件:
        <asp:DropDownList ID="AlowExt" runat="server">
            <asp:ListItem Value="0">允许类型</asp:ListItem>
        </asp:DropDownList>
    </div>
    <div style="text-align: left; padding: 2px 0 0 2px;"><input type="hidden" id="UpFiles" name="UpFiles" value=""><iframe name="UpLoadFrame" frameborder="0" width="100%" height="24" scrolling="no" src="PostUpLoad.aspx?ForumID=<%=Request.QueryString["ForumID"]%>"></iframe></div>
</div>
<div class="listborder4" style="text-indent:5px; height:25px;">
    <div class="listbody5_l" style="width:200px; font-weight: bold; text-align: left;">其他选项:</div>
    <div style="text-align: left;">邮件通知:
        <asp:DropDownList ID="IsEmail" runat="server">
            <asp:ListItem Value="0" Selected="True">不通知</asp:ListItem>
            <asp:ListItem Value="1">邮件通知</asp:ListItem>
            <asp:ListItem Value="2">短信通知</asp:ListItem>
            <asp:ListItem Value="3">邮件短信通知</asp:ListItem>
        </asp:DropDownList>
        <asp:CheckBox ID="IsSign" runat="server" Checked="True" Text="显示签名"></asp:CheckBox>
        <asp:CheckBox ID="LockTopic" runat="server" Text="帖子锁定"></asp:CheckBox>
        <asp:CheckBox ID="TopTopic" runat="server" Text="帖子固顶"></asp:CheckBox>
        <asp:CheckBox ID="AllTopTopic" runat="server" Text="帖子总固顶"></asp:CheckBox>
   </div>
</div>
<div class="listborder4" style="height:380px;">
   <div class="listbody5_l" style="width:200px; height: 380px;"></div>
   <div style="text-align: left;"><HDLabEditor:HDLabEditor ID="MyHDLabEditor" runat="server" BreakMode="LineBreak" Height="350" Width="550" DownLevelCols="104" DownLevelRows="20" /></div>
</div>
<div class="listborder5" style="height: 25px; text-align:center; padding-top: 2px;">
    <asp:Label ID="ShowCode" runat="server">验证码:</asp:Label>
    <asp:TextBox ID="InputCode" Columns="8" runat="server"></asp:TextBox>
    <asp:Image ID="ShowCodeImg" runat="server" ImageAlign="AbsMiddle"></asp:Image>
    <asp:Button ID="Submit" runat="server" Text="发 表"></asp:Button>
</div>

⌨️ 快捷键说明

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