HTML
Javascript
Flash Actionscript
PHP
mySQL
ASP
MS-SQL
Linux
Others
Ziwoo Board
Portfolio
About
|
|
PHP |
ÀÛ¼º |
2006-08-09 16:23:36 Ãßõ: 105 Á¶È¸: 4497 |
Á¦¸ñ |
µ¿¿µ»ó °ü·Ã °Ô½ÃÆÇÀ» ¸¸µå´Âµ¥¿ä..AvIÆÄÀϸ¸ ½ÇÇàÀÌ ¾ÈµÅ³×¿ä.. |
À̸§(ID) |
ÀÌÈ¿ÁØ (ds3evm)
|
|
|
¹°·Ð À©µµ¿ì ¹Ìµð¾î Ç÷¹À̾ ±âº»À¸·Î µî·ÏµÇ¾î ÀÖ±¸¿ä....
»ý·«..........
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title>±ÛÀбâ ȸé</title>
<link type="text/css" rel="stylesheet" href="board.css">
<SCRIPT LANGUAGE="JavaScript">
<!--
var movie_ct=1;
function Move_ctl_play()
{
movie_loadding.style.display='';
read_now_time();
movie_ctl.Stop();
movie_ctl.Play();
}
//Á¤Áö
function Move_ctl_stop()
{
movie_ctl.Stop();
movie_ctl.Play();
movie_ctl.Stop();
}
//ÀϽÃÁ¤½Ã
function Move_ctl_pause()
{
if(movie_ct==0){ movie_ctl.Pause(); movie_ct=1; mouction=1; document.all["pp"].innerHTML="½ÃÀÛ"; }
else{ movie_ctl.Play(); movie_ct=0; mouction=0; document.all["pp"].innerHTML="ÀϽÃÁ¤Áö"; }
}
function ChangeMovie(mName) {
var str = '<EMBED SRC="'+mName+'" width="315" height="250" name="movie_screen" id="movie_ctl"></embed><br><span id="movie_loadding" style="color:#000000">¿µ»ó·ÎµùÁß...</span><a href="" onclick="Move_ctl_play();return false;" onfocus="blur();">[Àç»ý]</a> <a href="" onclick="Move_ctl_stop();return false;" onfocus="blur();">[Á¤Áö]</a> <a style=cursor:hand onclick="movie_screen.DisplaySize=3" sytle=color:#ffffff>[Àüüȸé]<a href="" onClick="Move_ctl_pause();return false; onFocus=this.blur()"><span id=pp>ÀϽÃÁ¤Áö</span></a>';
document.all["myMovie"].innerHTML = str;
read_now_time();
}
function read_now_time()
{
//ÁøÇàÁßÀÏ°æ¿ì¿¡¸¸ ½Ã°£ ¹× ÁøÇà¹Ù Ç¥½Ã
if(movie_ctl.currentPosition)
{
movie_loadding.style.display='none';
}
// ½Ç½Ã°£À¸·Î µ¿¿µ»ó ÁøÇà»çȲ ·Îµù
else
{
setTimeout("read_now_time()",1);
}
}
//-->
</SCRIPT>
</head>
<body>
<table width="<?echo $newwidth?>" border="1" cellpadding="0" cellspacing="0" align='center'>
<tr><td height='2' colspan='2'></td></tr>
<tr>
<td height="28" align="right" width='80'>Á¦ ¸ñ</td>
<td> <?echo $subject?></td>
</tr>
<tr >
<td height="20" align="center" colspan='2'>³» ¿ë</td>
</tr>
<tr>
<td width='80'> </td>
<?$twidth = $newwidth-80;?>
<td valign='top' width='<?echo $twidth?>'><br>
<table border='1' cellpadding='0' cellspacing='0' align='center' width='95%'>
<tr>
<td align='center'><span id='myMovie'>µ¿¿µ»ó À̹ÌÁö Ç¥½Ã</span></td>
<td width='20'></td>
<td width='150'>
<?
if($writefile == 'y') {
if($fcnt) {
//µ¿¿µ»ó ÆÄÀÏÀÏ ÀÖÀ»°æ¿ì...
while($file_rows = mysql_fetch_array($sql_file)) {
$save_dir = $file_rows[floc];
$f_name = $file_rows[fname];
$f_name = stripslashes($f_name);
if($f_size >= 0) {
if(strstr($f_name, ".avi") || strstr($f_name,".wmv") || strstr($f_name, ".mov") || strstr($f_name, ".asf") || strstr($f_name, ".mpeg")) {
//$imgfile[] = "../upload/".$code."/".$f_name;
echo("
<font style='font-size:9pt;'><span style='cursor:hand' onClick=\"ChangeMovie('../upload/$code/$f_name')\" onMouseOver='status=\"Play File\"; return true;' onMouseOut='status=\"\";return;' onFocus='this.blur()'>$f_name</span></font>
");
}
}
}
}
}?>
»ý·«............
|
|
|
|
|
|
Áö¿ì(ziwoo)
2006-08-09 22:15:24
|
|
http://www.ziwoo.net/test.php
°°Àº¼Ò½ºÀε¥.. Àü Àߵ˴ϴÙ.
<SCRIPT LANGUAGE="JavaScript">
<!--
var movie_ct=1;
function Move_ctl_play()
{
movie_loadding.style.display='';
read_now_time();
movie_ctl.Stop();
movie_ctl.Play();
}
//Á¤Áö
function Move_ctl_stop()
{
movie_ctl.Stop();
movie_ctl.Play();
movie_ctl.Stop();
}
//ÀϽÃÁ¤½Ã
function Move_ctl_pause()
{
if(movie_ct==0){ movie_ctl.Pause(); movie_ct=1; mouction=1; document.all["pp"].innerHTML="½ÃÀÛ"; }
else{ movie_ctl.Play(); movie_ct=0; mouction=0; document.all["pp"].innerHTML="ÀϽÃÁ¤Áö"; }
}
function ChangeMovie(mName) {
var str = '<EMBED SRC="'+mName+'" width="315" height="250" name="movie_screen" id="movie_ctl"></embed><br><span id="movie_loadding" style="color:#000000">¿µ»ó·ÎµùÁß...</span><a href="" onclick="Move_ctl_play();return false;" onfocus="blur();">[Àç»ý]</a> <a href="" onclick="Move_ctl_stop();return false;" onfocus="blur();">[Á¤Áö]</a> <a style=cursor:hand onclick="movie_screen.DisplaySize=3" sytle=color:#ffffff>[Àüüȸé]<a href="" onClick="Move_ctl_pause();return false; onFocus=this.blur()"><span id=pp>ÀϽÃÁ¤Áö</span></a>';
document.all["myMovie"].innerHTML = str;
read_now_time();
}
function read_now_time()
{
//ÁøÇàÁßÀÏ°æ¿ì¿¡¸¸ ½Ã°£ ¹× ÁøÇà¹Ù Ç¥½Ã
if(movie_ctl.currentPosition)
{
movie_loadding.style.display='none';
}
// ½Ç½Ã°£À¸·Î µ¿¿µ»ó ÁøÇà»çȲ ·Îµù
else
{
setTimeout("read_now_time()",1);
}
}
//-->
</SCRIPT>
<span id='myMovie'>µ¿¿µ»ó À̹ÌÁö Ç¥½Ã</span>
<span style='cursor:hand' onClick="ChangeMovie('test.avi')" >test.avi</span> |
|
|
|
|
ÀÌÈ¿ÁØ(ds3evm)
2006-08-10 09:34:46
|
|
³× Áö¿ì´Ô....¹°·Ð HTML»óÅ·ΠÁï Áö¿ì´ÔÀÇ ´ä±Ûó·³... HTMLÄÚµå·Î ÇÏ¸é ¹®Á¦°¡ ¾ø´Âµ¥...
PHPÄڵ常 µé¾î°¡¸é ¾ÊµÇ´õ¶ó±¸¿ä.... PHP ÀüüÄڵ带 º¸³»µå¸±±î¿ä? |
|
|
|
|
Áö¿ì(220.78.115.198)
2006-08-10 13:23:32
|
|
PHP ȯ°æµµ ´Ù¸£°í, DBµµ ÀúÇÑÅ× ¾ø´Âµ¥..
Á¦°¡ Äڵ带 ´Ù ¹Þ´Â´Ù Çѵé..
¹«½¼ µµ¿òÀ» µå¸± ¼ö ÀÖ°Ú½À´Ï±î..?
±× º¸´Ù´Â PHP¸¦ ÅëÇØ ÀÌ¹Ì ¿Ï¼ºµÈ HTML À» ¼Ò½ºº¸±â·Î ±Ü¾î¼
Áú¹®Çϴ°ÍÀÌ ¸Â°ÚÁö¿ä.
±×·± ¸Æ¶ô¿¡¼ HTML·Î Å×½ºÆ®ÇغÁµå·È´Âµ¥,
ÀÌ¹Ì HTML »óÀ¸·Î´Â Àß µÈ´Ù°í ÇϼÌÀ¸´Ï..
µüÈ÷ µµ¿òÀ» µå¸± ¼ö°¡ ¾ø°Ú±º¿ä. |
|
|
|
|
|