;
for(int i=0;i{
if (dtPTC.Rows[i]["ISPRO"].ToString() = = "1")
{
%>;
-
{
if (dtPTC.Rows[i]["ProjectID"].ToString( ) == dtPTC.Rows[j]["ProjectID"].ToString() && dtPTC.Rows[j][" ISPRO"].ToString() == "2")
{
%>;
;
-
int p_count = 0;
for (int k = 0; k {
if (dtPTC.Rows[k]["ISPRO"].ToString() == " 3" && dtPTC.Rows[j]["TermID"].ToString() == dtPTC.Rows[k]["TermID"].ToString())
{
p_count ;
if (dtPTC.Rows[k]["ClassID"].ToString() == Session["CLASSID"].ToString())
{
%>;
' type="radio" name="rd_class" value=''檢查/>
{
%>;
' type="radio" name="rd_class" value='' //>
}
if (p_count % 2 == 0)
{
%>
}
}
}
%>
}
}
%>
}
}
%>
//顯示對話框資訊的函數
function ShowClassInfo() {
//彈出對話框
$("#displayClassDiv").dialog({
modal: true,
寬度: '700',
高度: '400',
title: "請選擇短片教學:",
overlay: { opacity: 0.5, background: "black" },
buttons : {
"確定": function () { SubmitClassInfo() },
"取消": function () { $(this).dialog("destroy") }
},
close: function (event, ui) { $(this).dialog("destroy") }
});
}
function SubmitClassInfo() {
var ObjClass = $('[name=rd_class]:checked');
var ClassID=ObjClass.val();
window.location.href = '../ClassPortal/ClassPortal.aspx?CLASS_ID=' ClassID;
}
腳本>