|
|
|
|
俵ÀÌ / 2000-06-21 / ¿ÀÈÄ 7:52:23 / 203.255.3.190
Á¶È¸¼ö : 109
|
[Áú¹®] ·çÇÁµ¹¸®´Â°Å ´ë½Å, Çϳª¾¿ ¿ÀÇÂÇϱâ |
> 俵´Ô ~ ¹Ø¿¡ ·çÇÁµ¹¸®´ÂÇÏ´Ù°¡, ¹º°¡ Àß ¾È¸Â¾Æ¼¿© . Çϳª¾¿ ¿ÀÇÂÇÏ·Á°í Çغôµ¥, ¹Ø¿¡¿Í °°ÀÌ ¿¡·¯°¡ ³ª³×¿ä. Èæ~ ratio¸¦ »Ñ·Á´Â ÁÖ´Â ºä°¡ ¾Ö¸¦ ¸ÔÀ̴±º¿ä.
> ¶óµð¿À¹öÆ° Æ÷ÇÔÇؼ óÀ½ºÎÅÍ ·çÇÁµµ¸®¸é ¹®Á¦ ¾ø°Ú´Âµ¥, ,,¾ÏÆ°, ¹Ø¿¡ ³ ¿¡·¯Á» ºÁÁÖ¼¼¿ä. ÈæÈæ~
> ¾ðÁ¦³ª 俵´ÔÀÇ ¼º½ÇÇÑ ´äº¯¿¡ °¨»çÇÏ°Ô »ý°¢ÇÕ´Ï´Ù.
>
>
>
> ---- ¿¡·¯ ¸Þ½ÃÁö ----
> Microsoft VBScript ÄÄÆÄÀÏ ¿À·ù error '800a03f6'
>
> 'End'°¡ ÇÊ¿äÇÕ´Ï´Ù
>
> /finaltest/betlist/rouge/test1.asp, line 156 >else ratio=rs2.Fields("ratio")
> end if ^ >
>
>
> ---- ¿¡·¯¶óÀÎÀÇ ÄÚµå ----
>
>
> -----------------------------
> ¼Ò½º Áß·«.........
> <%
> set db = Server.CreateObject("ADODB.Connection")
> db.Open ("Dsn=xx;uid=xx;pwd=xx")
>
> SQL2 = "SELECT * from score_ratio"
>
> SQL2 = SQL2&" where league_num="& Request.QueryString
> ("idx3")
>
> SQL2 = SQL2&" AND score_index_num=1"
>
> Set Rs2 = Server.CreateObject("ADODB.Recordset")
>
> Rs2.Open SQL2,db
>
> %>
>
>
> <%
>
> SQL3 = "SELECT ratio from score_ratio"
>
> SQL3 = SQL3&" where league_num="& Request.QueryString
> ("idx3")
>
> SQL3 = SQL3&" AND score_index_num=2"
>
> Set Rs3 = Server.CreateObject("ADODB.Recordset")
>
> Rs3.Open SQL3,db
>
> %>
>
> <%
>
> SQL4 = "SELECT ratio from score_ratio"
>
> SQL4 = SQL4&" where league_num="& Request.QueryString
> ("idx3")
>
> SQL4 = SQL4&" AND score_index_num=3"
>
> Set Rs4 = Server.CreateObject("ADODB.Recordset")
>
> Rs4.Open SQL4,db
>
> %>
>
>
>
>
>
>
>
>
>
>
> <%
>
> if Rs2.BOF and rs3.BOF and rs4.BOF then
>
> score_part_point=0
> score_part_person=0
> ratio=0
>
> %>
>
>
>
> KGL ·¹Àκ¸¿ì 6 ´Ü½Ä
> ½ºÄÚ¾î ¸ÂÃß±â
>
>
>
>
>
>
>
>
> |
>
>
>
>
>
> width="300">
>
>
>
> valign="center">
> color="blue">½ºÄÚ¾î |
>
> valign="center">
> color="blue">¹è´ç·ü |
>
>
>
>
>
> type="radio" name="score_index_num" value="1">3:0 |
>
> <%=ratio%> |
>
>
>
> type="radio" name="score_index_num" value="2">3:1 |
>
> <%=ratio%> |
>
>
>
> type="radio" name="score_index_num" value="3">3:2 |
>
> <%=ratio%> |
>
>
>
>
> ÃÑ Âü°¡ÀÎ
> ¿ø : <%=score_part_person%> |
>
>
> ÃÑ ¹èÆñÝ
> ¾× : <%=score_part_point%> |
>
>
>
>
>
>
> <%
> else
>
> score_part_point=rs2.Fields("score_part_point")
> score_part_person=rs2.Fields("score_part_person")
>
>
>
> %>
>
>
>
>
>
> KGL ·¹Àκ¸¿ì 6 ´Ü½Ä
> ½ºÄÚ¾î ¸ÂÃß±â
>
>
>
>
>
>
>
>
> |
>
>
>
>
>
>
>
>
>
>
> ---- Áú¹® ³»¿ë ----
>
> ·¹ÄÚµå¼ÂÀ» Çϳª¾¿ ÇØ´ç score_num¿¡ ´ëÇؼ ¿¾ú´Âµ¥,
> ¿¡·¯°¡ ³ª¼¿ä.
> ¹Ø¿¡ ÇØ´ç ²ø¾î ¿À´Â ºäÀÔ´Ï´Ù.
>
> score_index_num , score_name , ratio ,
> 1 3:0 1
> 2 3:1 0.5
> 3 3:2 2
>
>
> ¹°·Ð ¸ÇóÀ½ ²ø¾î¿À°Ô µÇ¸é ·¹ÄÚµå¼ÂÀÌ bof ÀÌ°í¿ä
>
> ºê¶ó¿ìÀú¿¡¼ óÀ½ score_index_num ÀÌ 1 ÀÎ °÷¿¡ Ŭ¸¯ÇÏ°í, ³Ñ¾î°¡°í
> ´Ù½Ã ½ÇÇà½ÃÅ°¸é, ºä¿¡´Â score_index_numÀÌ 1¹øÀÎ ratio¸¸
> ³ª¿À°Ô µÇ°í, ³ª¸ÓÁö ´Â ·¹ÄÚµå¼ÂÀÌ ¾øÀ¸¹Ç·Î, ratio=0À¸·Î Âï¾îÁÖ¾î¾ßÇÕ
> ´Ï´Ù.
> ÀÌ·±¾¿À¸·Î Ŭ¸¯ÇÒ¶§¸¶´Ù, ºäÀÇ Çʵå´Â °è¼Ó Áõ°¡´ÂÇÏ´Â Çü½ÄÀÔ´Ï´Ù.
>
> ÈæÈæ~~~ ½Ç·ÂÀÌ ¾ø´Ùº¸´Ï,,,,À̸®Àú¸® °øºÎÇØ°¡¸é¼ ÇÏ°í´Â Àִµ¥, Àß
> ¾ÈµÇ³×¿ä.
>
-----------------------------------------------------------
ÅÂ±× ¶§¹®¿¡ ¼Ò½º º¸±â°¡ ¾î·Æ³×¿ä...
ÇöÀç ¼Ò½º»óÅ·ΠºÁ¼´Â Ʋ¸²Á¡ÀÌ º°·Î ¾È º¸Àδ °Í °°Àºµ¥¿ä...
if¶û end if °¹¼öµµ ÀÏÄ¡ÇÏ´Â °Í °°±¸¿ä...
Ȥ½Ã ¼Ò½ºÁß·®ÇÑ ºÎºÐ¿¡ if ¹®ÀÌ ÀÖ³ª¿ä? -_-+
º° µµ¿òÀÌ µÇÁö ¸øÇÏ´Â°Í °°±º¿ä....
±×·³... ¼ö±¸Çϼ¼¿ä~~
|
|
|
|
|
| |