<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개 정도 어떤 방식인지 이해가 안가네요 ㅠㅠ
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5130 | 13년 전 | 753 | ||
| 5129 | 13년 전 | 1760 | ||
| 5128 | 13년 전 | 928 | ||
| 5127 | 13년 전 | 510 | ||
| 5126 | 13년 전 | 744 | ||
| 5125 | 13년 전 | 1352 | ||
| 5124 | 13년 전 | 824 | ||
| 5123 | 13년 전 | 457 | ||
| 5122 | 13년 전 | 994 | ||
| 5121 |
|
13년 전 | 1379 | |
| 5120 | 13년 전 | 500 | ||
| 5119 | 13년 전 | 475 | ||
| 5118 | 13년 전 | 405 | ||
| 5117 | 13년 전 | 715 | ||
| 5116 | 13년 전 | 451 | ||
| 5115 | 13년 전 | 905 | ||
| 5114 | 13년 전 | 937 | ||
| 5113 |
cookieyou
|
13년 전 | 1345 | |
| 5112 | 13년 전 | 530 | ||
| 5111 | 13년 전 | 822 | ||
| 5110 | 13년 전 | 4441 | ||
| 5109 | 13년 전 | 1061 | ||
| 5108 | 13년 전 | 408 | ||
| 5107 | 13년 전 | 479 | ||
| 5106 | 13년 전 | 635 | ||
| 5105 | 13년 전 | 1099 | ||
| 5104 | 13년 전 | 411 | ||
| 5103 |
프로프리랜서
|
13년 전 | 1343 | |
| 5102 | 13년 전 | 1584 | ||
| 5101 | 13년 전 | 458 | ||
| 5100 | 13년 전 | 370 | ||
| 5099 | 13년 전 | 519 | ||
| 5098 | 13년 전 | 2132 | ||
| 5097 | 13년 전 | 376 | ||
| 5096 | 13년 전 | 522 | ||
| 5095 | 13년 전 | 383 | ||
| 5094 | 13년 전 | 388 | ||
| 5093 | 13년 전 | 877 | ||
| 5092 | 13년 전 | 1060 | ||
| 5091 | 13년 전 | 415 | ||
| 5090 | 13년 전 | 511 | ||
| 5089 | 13년 전 | 953 | ||
| 5088 | 13년 전 | 402 | ||
| 5087 | 13년 전 | 1153 | ||
| 5086 | 13년 전 | 1479 | ||
| 5085 |
|
13년 전 | 3929 | |
| 5084 |
alexseo
|
13년 전 | 910 | |
| 5083 | 13년 전 | 1122 | ||
| 5082 | 13년 전 | 597 | ||
| 5081 | 13년 전 | 521 | ||
| 5080 | 13년 전 | 600 | ||
| 5079 | 13년 전 | 971 | ||
| 5078 | 13년 전 | 2185 | ||
| 5077 | 13년 전 | 670 | ||
| 5076 |
몰보는거야
|
13년 전 | 1691 | |
| 5075 |
|
13년 전 | 1765 | |
| 5074 | 13년 전 | 2005 | ||
| 5073 |
|
13년 전 | 763 | |
| 5072 |
프로프리랜서
|
13년 전 | 1040 | |
| 5071 |
프로프리랜서
|
13년 전 | 764 | |
| 5070 |
프로프리랜서
|
13년 전 | 876 | |
| 5069 |
뭐먹고살지ㅠ
|
13년 전 | 787 | |
| 5068 |
danielle
|
13년 전 | 644 | |
| 5067 | 13년 전 | 758 | ||
| 5066 | 13년 전 | 833 | ||
| 5065 | 13년 전 | 905 | ||
| 5064 | 13년 전 | 1715 | ||
| 5063 | 13년 전 | 432 | ||
| 5062 | 13년 전 | 804 | ||
| 5061 | 13년 전 | 577 | ||
| 5060 | 13년 전 | 379 | ||
| 5059 |
senseme
|
13년 전 | 839 | |
| 5058 | 13년 전 | 2846 | ||
| 5057 | 13년 전 | 1911 | ||
| 5056 | 13년 전 | 1481 | ||
| 5055 | 13년 전 | 439 | ||
| 5054 |
senseme
|
13년 전 | 1064 | |
| 5053 |
senseme
|
13년 전 | 1904 | |
| 5052 |
senseme
|
13년 전 | 1035 | |
| 5051 |
senseme
|
13년 전 | 1058 | |
| 5050 |
senseme
|
13년 전 | 796 | |
| 5049 |
senseme
|
13년 전 | 978 | |
| 5048 | 13년 전 | 1983 | ||
| 5047 | 13년 전 | 487 | ||
| 5046 |
우렁찬우렁이
|
13년 전 | 857 | |
| 5045 |
크라이스트
|
13년 전 | 2148 | |
| 5044 | 13년 전 | 962 | ||
| 5043 | 13년 전 | 529 | ||
| 5042 | 13년 전 | 970 | ||
| 5041 |
|
13년 전 | 804 | |
| 5040 |
스마일라니
|
13년 전 | 866 | |
| 5039 | 13년 전 | 1132 | ||
| 5038 | 13년 전 | 1922 | ||
| 5037 | 13년 전 | 1044 | ||
| 5036 |
cookieyou
|
13년 전 | 1397 | |
| 5035 | 13년 전 | 495 | ||
| 5034 | 13년 전 | 558 | ||
| 5033 | 13년 전 | 486 | ||
| 5032 | 13년 전 | 436 | ||
| 5031 | 13년 전 | 730 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기