<TABLE border=0 cellpadding=0 cellspacing=0 width='100%'>
<TR>
<TD>
<TR>
<TD>
<SCRIPT LANGUAGE="JavaScript">
var chor = document.getElementsByName("no");
function ChkAll(){
if(chor[0].checked == false){
for(i=0; chor[i]; i++){
chor[i].checked = true;
}
}else{
for(i=0; chor[i]; i++){
chor[i].checked = false;
}
}
}
function createForm(nm,mt,at,tg) {
var f=document.createElement("form");
f.name=nm;
f.method=mt;
f.action=at;
f.target=tg;
return f;
}
function addHidden(f,n,v) {
var i=document.createElement("input");
i.type="hidden";
i.name=n;
i.value=v;
f.insertBefore(i);
return f;
}
function select_listen(){
var no;
for(i=0; i < chor.length; i++){
if(chor[i].checked == true){
if(!no){
no = chor[i].value;
}else{
no = no + ";" + chor[i].value;
}
}
}
if(!no){
alert("삭제대상을 선택하세요.");
}else{
listen(no);
}
}
var chor = document.getElementsByName("no");
function ChkAll(){
if(chor[0].checked == false){
for(i=0; chor[i]; i++){
chor[i].checked = true;
}
}else{
for(i=0; chor[i]; i++){
chor[i].checked = false;
}
}
}
function createForm(nm,mt,at,tg) {
var f=document.createElement("form");
f.name=nm;
f.method=mt;
f.action=at;
f.target=tg;
return f;
}
function addHidden(f,n,v) {
var i=document.createElement("input");
i.type="hidden";
i.name=n;
i.value=v;
f.insertBefore(i);
return f;
}
function select_listen(){
var no;
for(i=0; i < chor.length; i++){
if(chor[i].checked == true){
if(!no){
no = chor[i].value;
}else{
no = no + ";" + chor[i].value;
}
}
}
if(!no){
alert("삭제대상을 선택하세요.");
}else{
listen(no);
}
}
function select_all(){
for(i=0; i < chor.length; i++){
chor[i].checked = true;
}
select_listen();
}
function next_page(it) {
var next_page = createForm("next_page", "POST", "<?=$PHP_SELF?>", "");
next_page=addHidden(next_page, "s_page", it);
document.insertBefore(next_page);
next_page.submit();
}
</SCRIPT>
<table width="644" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="1" bgcolor="#e3e3e3"></td>
</tr>
<tr>
<td height="27" bgcolor="#f1f1f1">
<table width="644" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="45" align="center"><A style="CURSOR: hand" onclick="javascript:ChkAll();"><IMG src="/include/CD/img/allchk.gif" border=0></A></td>
<td width="50" align="center"><strong>번호</strong></td>
<td align="center"><strong>곡명</strong></td>
<td width="35" align="center"><strong></strong></td>
<td width="45" align="center"><strong></strong></td>
<td width="45" align="center"><strong>듣기</strong></td>
</tr>
</table></td>
</tr>
<tr>
<td height="1" bgcolor="#e3e3e3"></td>
</tr>
for(i=0; i < chor.length; i++){
chor[i].checked = true;
}
select_listen();
}
function next_page(it) {
var next_page = createForm("next_page", "POST", "<?=$PHP_SELF?>", "");
next_page=addHidden(next_page, "s_page", it);
document.insertBefore(next_page);
next_page.submit();
}
</SCRIPT>
<table width="644" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="1" bgcolor="#e3e3e3"></td>
</tr>
<tr>
<td height="27" bgcolor="#f1f1f1">
<table width="644" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="45" align="center"><A style="CURSOR: hand" onclick="javascript:ChkAll();"><IMG src="/include/CD/img/allchk.gif" border=0></A></td>
<td width="50" align="center"><strong>번호</strong></td>
<td align="center"><strong>곡명</strong></td>
<td width="35" align="center"><strong></strong></td>
<td width="45" align="center"><strong></strong></td>
<td width="45" align="center"><strong>듣기</strong></td>
</tr>
</table></td>
</tr>
<tr>
<td height="1" bgcolor="#e3e3e3"></td>
</tr>
<?
if(!$_POST[s_page]){$s_page = $_POST[s_page];}
if(!$_POST[s_page]){$s_page = $_POST[s_page];}
$sql_main = "SELECT * FROM audio where file_name not like '%mms://tv.jesus-tv.net%' and subject != '0' and singer != '0'";
$sq_temp=mysql_query("$sql_main");
$total_all = mysql_num_rows($sq_temp);
$total_all = mysql_num_rows($sq_temp);
if ( !$s_page ){$s_page = 1;}
$page_view = 15;
$show_page_num = 10;
$start=($s_page-1)*$page_view;
$page_view = 15;
$show_page_num = 10;
$start=($s_page-1)*$page_view;
$sq1=mysql_query("$sql_main limit $start,$page_view");
$total = mysql_num_rows($sq1);
$start_count = $total_all - $start;
?>
<?
if (!$total) {
echo ("<TR height=20><TD align='center' STYLE='color:FF0000;'>해당 음반의 곡이 없습니다.</TD></TR>");
} else {
$total = mysql_num_rows($sq1);
$start_count = $total_all - $start;
?>
<?
if (!$total) {
echo ("<TR height=20><TD align='center' STYLE='color:FF0000;'>해당 음반의 곡이 없습니다.</TD></TR>");
} else {
// ################################ FOR ######################################
for ($i = 0; $i < $total; $i++) {
$s = mysql_fetch_array($sq1);
?>
for ($i = 0; $i < $total; $i++) {
$s = mysql_fetch_array($sq1);
?>
<tr>
<td height="27">
<table width="644" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="45" align="center"><input type="checkbox" name="no" value='<?=$s[no]?>'> </td>
<td width="50" align="center"><?=$start_count--?></td>
<td width="10"> </td>
<td><?$subject = mysql_fetch_array(mysql_query("SELECT * FROM subject where no = '".$s[subject]."'"));?>
<?=$subject[subject]?></td>
<td width="35" align="center"></td>
<td width="45" align="center"></td>
<td width="45" align="center"><a href="javascript:listen('<?=$s[no]?>')"><img src="/04/img/ic_listen.gif" width="17" height="15" border="0"></a></td>
</tr>
</table>
</td>
</tr>
이해가 안되가지구요 ;;;
audio 갔다가 갑자기 거기서 또 subject 갔다가 또 사이트에서 리스트 나온거보면
audio나 subject 에 있는 곡이 다 뜨지도 않더라구요;;;
db에는 천단윈데 사이트 에 뜨는건 400개 정도 어떤 방식인지 이해가 안가네요 ㅠㅠ
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7430 |
|
11년 전 | 4947 | |
| 7429 | 11년 전 | 1780 | ||
| 7428 |
멋진남자임
|
11년 전 | 1174 | |
| 7427 |
sdflksdj2
|
11년 전 | 835 | |
| 7426 | 11년 전 | 1371 | ||
| 7425 | 11년 전 | 1394 | ||
| 7424 | 11년 전 | 1055 | ||
| 7423 |
SeungYeon
|
11년 전 | 565 | |
| 7422 | 11년 전 | 815 | ||
| 7421 |
sdflksdj2
|
11년 전 | 692 | |
| 7420 | 11년 전 | 974 | ||
| 7419 |
|
11년 전 | 1409 | |
| 7418 |
멋진남자임
|
11년 전 | 1447 | |
| 7417 | 11년 전 | 611 | ||
| 7416 |
senseme
|
11년 전 | 1239 | |
| 7415 | 11년 전 | 967 | ||
| 7414 | 11년 전 | 719 | ||
| 7413 | 11년 전 | 4853 | ||
| 7412 | 11년 전 | 4408 | ||
| 7411 |
holla
|
11년 전 | 903 | |
| 7410 | 11년 전 | 4255 | ||
| 7409 | 11년 전 | 3930 | ||
| 7408 | 11년 전 | 4274 | ||
| 7407 | 11년 전 | 5095 | ||
| 7406 | 11년 전 | 4737 | ||
| 7405 | 11년 전 | 4306 | ||
| 7404 | 11년 전 | 766 | ||
| 7403 | 11년 전 | 5688 | ||
| 7402 | 11년 전 | 1528 | ||
| 7401 |
|
11년 전 | 982 | |
| 7400 | 11년 전 | 2979 | ||
| 7399 |
멋진남자임
|
11년 전 | 925 | |
| 7398 |
파랑새1597
|
11년 전 | 2716 | |
| 7397 | 11년 전 | 2279 | ||
| 7396 |
basketball
|
11년 전 | 1382 | |
| 7395 | 11년 전 | 1620 | ||
| 7394 | 11년 전 | 937 | ||
| 7393 | 11년 전 | 2077 | ||
| 7392 | 11년 전 | 854 | ||
| 7391 |
잘살아보자
|
11년 전 | 5373 | |
| 7390 |
잘살아보자
|
11년 전 | 2234 | |
| 7389 |
잘살아보자
|
11년 전 | 3324 | |
| 7388 |
파랑새1597
|
11년 전 | 932 | |
| 7387 | 11년 전 | 1109 | ||
| 7386 |
프리랜서퍼블리셔
|
11년 전 | 974 | |
| 7385 | 11년 전 | 1575 | ||
| 7384 |
울라라라우
|
11년 전 | 896 | |
| 7383 | 11년 전 | 1564 | ||
| 7382 |
잘살아보자
|
11년 전 | 4237 | |
| 7381 |
잘살아보자
|
11년 전 | 2008 | |
| 7380 |
잘살아보자
|
11년 전 | 1950 | |
| 7379 |
잘살아보자
|
11년 전 | 5912 | |
| 7378 |
senseme
|
11년 전 | 1908 | |
| 7377 |
잘살아보자
|
11년 전 | 2755 | |
| 7376 | 11년 전 | 2423 | ||
| 7375 |
잘살아보자
|
11년 전 | 1055 | |
| 7374 |
잘살아보자
|
11년 전 | 3167 | |
| 7373 |
잘살아보자
|
11년 전 | 2486 | |
| 7372 |
잘살아보자
|
11년 전 | 5834 | |
| 7371 |
잘살아보자
|
11년 전 | 3472 | |
| 7370 |
잘살아보자
|
11년 전 | 1917 | |
| 7369 |
잘살아보자
|
11년 전 | 2177 | |
| 7368 |
ksdhtm56
|
11년 전 | 576 | |
| 7367 | 11년 전 | 1441 | ||
| 7366 | 11년 전 | 941 | ||
| 7365 | 11년 전 | 3555 | ||
| 7364 |
잘살아보자
|
11년 전 | 1404 | |
| 7363 |
잘살아보자
|
11년 전 | 1382 | |
| 7362 |
잘살아보자
|
11년 전 | 1520 | |
| 7361 | 11년 전 | 3606 | ||
| 7360 | 11년 전 | 3569 | ||
| 7359 | 11년 전 | 3388 | ||
| 7358 |
멋진남자임
|
11년 전 | 1040 | |
| 7357 | 11년 전 | 3422 | ||
| 7356 | 11년 전 | 2609 | ||
| 7355 | 11년 전 | 3204 | ||
| 7354 |
파랑새1597
|
11년 전 | 657 | |
| 7353 |
잘살아보자
|
11년 전 | 2432 | |
| 7352 |
잘살아보자
|
11년 전 | 2425 | |
| 7351 |
잘살아보자
|
11년 전 | 2485 | |
| 7350 |
잘살아보자
|
11년 전 | 1480 | |
| 7349 |
잘살아보자
|
11년 전 | 1973 | |
| 7348 |
잘살아보자
|
11년 전 | 1292 | |
| 7347 |
잘살아보자
|
11년 전 | 1086 | |
| 7346 |
멋진남자임
|
11년 전 | 1654 | |
| 7345 | 11년 전 | 1003 | ||
| 7344 | 11년 전 | 3882 | ||
| 7343 | 11년 전 | 3667 | ||
| 7342 | 11년 전 | 1294 | ||
| 7341 | 11년 전 | 2534 | ||
| 7340 |
|
11년 전 | 945 | |
| 7339 | 11년 전 | 1740 | ||
| 7338 | 11년 전 | 3355 | ||
| 7337 | 11년 전 | 3669 | ||
| 7336 | 11년 전 | 4608 | ||
| 7335 | 11년 전 | 984 | ||
| 7334 | 11년 전 | 1543 | ||
| 7333 | 11년 전 | 2949 | ||
| 7332 |
|
11년 전 | 1120 | |
| 7331 |
KeePin뽁이
|
11년 전 | 1109 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기