<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개 정도 어떤 방식인지 이해가 안가네요 ㅠㅠ
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7730 | 10년 전 | 1316 | ||
| 7729 | 10년 전 | 1174 | ||
| 7728 |
잘살아보자
|
10년 전 | 616 | |
| 7727 |
잘살아보자
|
10년 전 | 515 | |
| 7726 |
잘살아보자
|
10년 전 | 845 | |
| 7725 |
잘살아보자
|
10년 전 | 571 | |
| 7724 |
잘살아보자
|
10년 전 | 490 | |
| 7723 |
잘살아보자
|
10년 전 | 552 | |
| 7722 |
잘살아보자
|
10년 전 | 490 | |
| 7721 |
잘살아보자
|
10년 전 | 522 | |
| 7720 |
잘살아보자
|
10년 전 | 489 | |
| 7719 |
비긴어게인
|
10년 전 | 702 | |
| 7718 |
|
10년 전 | 2549 | |
| 7717 |
잘살아보자
|
10년 전 | 670 | |
| 7716 |
잘살아보자
|
10년 전 | 416 | |
| 7715 |
잘살아보자
|
10년 전 | 448 | |
| 7714 |
잘살아보자
|
10년 전 | 511 | |
| 7713 | 10년 전 | 1792 | ||
| 7712 | 10년 전 | 1730 | ||
| 7711 | 10년 전 | 1118 | ||
| 7710 | 10년 전 | 1410 | ||
| 7709 | 10년 전 | 1533 | ||
| 7708 | 10년 전 | 1473 | ||
| 7707 | 10년 전 | 866 | ||
| 7706 |
별지기천사
|
10년 전 | 581 | |
| 7705 | 10년 전 | 1086 | ||
| 7704 |
ICONdesignstudio
|
10년 전 | 642 | |
| 7703 | 10년 전 | 607 | ||
| 7702 |
|
10년 전 | 744 | |
| 7701 | 10년 전 | 1433 | ||
| 7700 | 10년 전 | 1116 | ||
| 7699 | 10년 전 | 587 | ||
| 7698 | 10년 전 | 1159 | ||
| 7697 | 10년 전 | 5183 | ||
| 7696 | 10년 전 | 674 | ||
| 7695 | 10년 전 | 1698 | ||
| 7694 | 10년 전 | 1084 | ||
| 7693 | 10년 전 | 1570 | ||
| 7692 | 10년 전 | 1316 | ||
| 7691 | 10년 전 | 836 | ||
| 7690 | 10년 전 | 1399 | ||
| 7689 | 10년 전 | 1028 | ||
| 7688 | 10년 전 | 634 | ||
| 7687 |
파랑새1597
|
10년 전 | 615 | |
| 7686 | 10년 전 | 866 | ||
| 7685 | 10년 전 | 1353 | ||
| 7684 | 10년 전 | 811 | ||
| 7683 | 10년 전 | 1125 | ||
| 7682 | 10년 전 | 1039 | ||
| 7681 | 10년 전 | 685 | ||
| 7680 | 10년 전 | 1000 | ||
| 7679 | 10년 전 | 521 | ||
| 7678 | 10년 전 | 752 | ||
| 7677 | 10년 전 | 654 | ||
| 7676 |
|
10년 전 | 960 | |
| 7675 |
|
10년 전 | 1196 | |
| 7674 | 10년 전 | 1060 | ||
| 7673 | 10년 전 | 767 | ||
| 7672 | 10년 전 | 1109 | ||
| 7671 | 10년 전 | 921 | ||
| 7670 | 10년 전 | 685 | ||
| 7669 |
mashmellow
|
10년 전 | 1242 | |
| 7668 | 10년 전 | 730 | ||
| 7667 | 10년 전 | 1028 | ||
| 7666 |
senseme
|
10년 전 | 670 | |
| 7665 | 10년 전 | 526 | ||
| 7664 | 10년 전 | 1909 | ||
| 7663 |
mixx애교
|
10년 전 | 991 | |
| 7662 | 10년 전 | 1058 | ||
| 7661 |
hkhkah
|
10년 전 | 801 | |
| 7660 | 10년 전 | 1076 | ||
| 7659 |
커네드커네드
|
10년 전 | 947 | |
| 7658 |
바람돌이팡
|
10년 전 | 688 | |
| 7657 | 10년 전 | 1177 | ||
| 7656 | 10년 전 | 1589 | ||
| 7655 | 10년 전 | 1006 | ||
| 7654 |
개발짜증나
|
10년 전 | 868 | |
| 7653 |
네이비칼라
|
10년 전 | 894 | |
| 7652 |
밥먹고합시다
|
10년 전 | 820 | |
| 7651 |
플라이SINJI
|
10년 전 | 1524 | |
| 7650 |
개발짜증나
|
10년 전 | 1430 | |
| 7649 | 10년 전 | 463 | ||
| 7648 |
이미영ㅇㅇ
|
10년 전 | 885 | |
| 7647 | 10년 전 | 456 | ||
| 7646 | 10년 전 | 827 | ||
| 7645 | 10년 전 | 2335 | ||
| 7644 | 10년 전 | 832 | ||
| 7643 |
|
10년 전 | 2885 | |
| 7642 | 10년 전 | 1531 | ||
| 7641 | 10년 전 | 1151 | ||
| 7640 |
개발짜증나
|
10년 전 | 479 | |
| 7639 |
|
10년 전 | 823 | |
| 7638 |
개발짜증나
|
10년 전 | 1146 | |
| 7637 | 10년 전 | 1566 | ||
| 7636 | 10년 전 | 2921 | ||
| 7635 | 10년 전 | 1713 | ||
| 7634 | 10년 전 | 1899 | ||
| 7633 | 10년 전 | 2364 | ||
| 7632 | 10년 전 | 3969 | ||
| 7631 |
|
10년 전 | 1559 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기