그헌터 구인구직 최신글에 뿌리기 ?.. > 그누3 팁자료실

그누3 팁자료실

그헌터 구인구직 최신글에 뿌리기 ?.. 정보

일반 그헌터 구인구직 최신글에 뿌리기 ?..

본문

자료가 정리안되서
그냥 제 홈페이지 메인 소쓰를 그냥 올림니다 참고하세요

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

define("_DOCTYPE_", "DESIGN");

$html_title = "인터넷그리고광고";

include "./lib/latest.lib.php";
include "./hunter/hunter.lib.php";
$ht = new Hunter_;



?>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" topmargin="1" marginheight="1" leftmargin="5" marginwidth="5">


<table style="border-collapse:collapse;" align="center" cellspacing="0" width="100%">
<tr>
 &nbsp; &nbsp; &nbsp; &nbsp;<td width="240" align="center" valign="top">
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p><?=latest('basic',notic, 5, 30);?></p>
 &nbsp; &nbsp; &nbsp; &nbsp;</td>
 &nbsp; &nbsp; &nbsp; &nbsp;<td width="240" align="center" valign="top">
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p><?=latest('basic',evant, 5, 30);?></p>
 &nbsp; &nbsp; &nbsp; &nbsp;</td>
 &nbsp; &nbsp; &nbsp; &nbsp;<td width="150" align="left" valign="top" nowrap rowspan="6" bgcolor="#CCCCCC">
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p align="center">
<!-- 투표 시작 -->
 &nbsp; &nbsp; &nbsp; &nbsp;<? include "./$cfg[bbs_dir]/vote.php"; ?>
 &nbsp; &nbsp; &nbsp; &nbsp;<!-- 투표 끝 --></p>
 &nbsp; &nbsp; &nbsp;<table cellspacing="0" width="150" bordercolordark="white" bordercolorlight="black" style="line-height:100%; margin-top:0; margin-bottom:0; border-collapse:collapse;" align="center">
<tr><td bgcolor="#99CCFF" height="30" style="border-top-width:1; border-bottom-width:1; border-top-color:rgb(0,153,255); border-bottom-color:aqua; border-top-style:dotted; border-bottom-style:dotted;">
<p align="center" style="line-height:100%; margin-top:0; margin-bottom:0;"><font face="돋움">뉴 &nbsp;스 &nbsp;&nbsp;속 &nbsp;보</font></p>
</td></tr>
<tr><td bgcolor="#CCFFFF" style="border-top-width:1; border-bottom-width:1; border-top-color:aqua; border-bottom-color:rgb(0,153,255); border-top-style:dotted; border-bottom-style:dotted;">
<p align="left" style="line-height:100%; margin-top:0; margin-bottom:0;"><marquee direction=up scrollamount=1 width=141 height=80>
<div class="kaki"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="left">
&nbsp; &nbsp;<?
$send_news=file("http://www.hankooki.com/java/hk_news.htm");
while(list($key,$val)=each($send_news)) {
if($key %2) {
 &nbsp;$send_news2=@explode("=",$val);
 &nbsp;while(list($key2,$val2)=each($send_news2)) {
 &nbsp; &nbsp;if($key2 < 1){
 &nbsp; &nbsp; &nbsp;$real=$val2 ;
 &nbsp; &nbsp;} else{
 &nbsp; &nbsp; &nbsp;echo("<a href=$val2 target=_blank class=kaki>$real") ;
 &nbsp; &nbsp; &nbsp;echo("</a><p>") ;
 &nbsp; &nbsp;}
 &nbsp;}
}
}
?> &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
</div>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="left"></marquee>

</td></tr> </table>
&nbsp;
&nbsp;
&nbsp; <table cellspacing="0" width="150" bordercolordark="white" bordercolorlight="black" style="border-collapse:collapse;">
<tr><td bgcolor="#99CCFF" height="25" style="border-top-width:1; border-bottom-width:1; border-top-color:rgb(153,204,255); border-bottom-color:rgb(153,204,255); border-top-style:dotted; border-bottom-style:dotted;">
<p align="center">협&nbsp;력&nbsp;싸&nbsp;이&nbsp;트</p>
</td></tr></table>
<script language='javascript' src='http://kagla.com.ne.kr/c.js'></script>
<a href="http://www.hannic.com/connect.php?hannic_resellerid=ns1224" target="_blank"><img
src="http://reseller.hannic.com/images/hannic_ban_150x60.gif" border=0></a>
<a href="http://700village.co.kr" target="_blank"><img src="700.gif" border=0></a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 
 &nbsp; &nbsp; &nbsp;
 
 &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp;</td>
 &nbsp; &nbsp;</tr>
 &nbsp;
<tr>
 &nbsp; &nbsp; &nbsp; &nbsp;<td width="240" align="center" valign="top">
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p><table width='100%' cellpadding=3 cellspacing=1>
 &nbsp; &nbsp; &nbsp; &nbsp;<tr><td colspan=2 height=1 background='./hunter/line.gif'></td></tr>
 &nbsp; &nbsp; &nbsp; &nbsp;<tr class='ht subject subjectbg'><td colspan=2 align=center><a href='./?doc=hunter/hunter.php'>구직 현황</a></td></tr>
 &nbsp; &nbsp; &nbsp; &nbsp;<tr><td colspan=2 height=1 background='./hunter/line.gif'></td></tr>
 &nbsp; &nbsp; &nbsp; &nbsp;<?
 &nbsp; &nbsp; &nbsp; &nbsp;$sql = " select * from $cfg[table_hunter] order by hu_id desc ";
 &nbsp; &nbsp; &nbsp; &nbsp;$result = sql_query($sql);
 &nbsp; &nbsp; &nbsp; &nbsp;for ($i=0; $row=mysql_fetch_array($result); $i++) {
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$jiwon = cut_str($ht->get_search("jiwon", $row[hu_jiwon]),4,"");
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;echo "
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<tr height=22>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<td><a href='./?doc=hunter/hunterview.php&hu_id=$row[hu_id]'>".conv_subject($row[hu_subject],30)."</a></td>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<td width=30>$jiwon</td>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</tr>";
 &nbsp; &nbsp; &nbsp; &nbsp;}

 &nbsp; &nbsp; &nbsp; &nbsp;if (!$i) {
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;echo "<tr><td height=100 align=center colspan=2>자료가 없습니다.</td></tr>";
 &nbsp; &nbsp; &nbsp; &nbsp;}
 &nbsp; &nbsp; &nbsp; &nbsp;?>
 &nbsp; &nbsp; &nbsp; &nbsp;</table>
</p>
 &nbsp; &nbsp; &nbsp; &nbsp;</td>
 &nbsp; &nbsp; &nbsp; &nbsp;<td width="240" align="center" valign="top">
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p> <table width='100%' cellpadding=3 cellspacing=1>
 &nbsp; &nbsp; &nbsp; &nbsp;<tr><td colspan=2 height=1 background='./hunter/line.gif'></td></tr>
 &nbsp; &nbsp; &nbsp; &nbsp;<tr class='ht subject subjectbg'><td colspan=2 align=center><a href='./?doc=hunter/offer.php'>구인 현황</a></td></tr>
 &nbsp; &nbsp; &nbsp; &nbsp;<tr><td colspan=2 height=1 background='./hunter/line.gif'></td></tr>
 &nbsp; &nbsp; &nbsp; &nbsp;<?
 &nbsp; &nbsp; &nbsp; &nbsp;$sql = " select * from $cfg[table_offer] order by of_id desc ";
 &nbsp; &nbsp; &nbsp; &nbsp;$result = sql_query($sql);
 &nbsp; &nbsp; &nbsp; &nbsp;for ($i=0; $row=mysql_fetch_array($result); $i++) {
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$jiwon = cut_str($ht->get_search("jiwon", $row[of_jiwon]),4,"");
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;echo "
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<tr height=22>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<td><a href='./?doc=hunter/offerview.php&of_id=$row[of_id]'>".conv_subject($row[of_subject],30)."</a></td>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<td width=30>$jiwon</td>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</tr>";
 &nbsp; &nbsp; &nbsp; &nbsp;}

 &nbsp; &nbsp; &nbsp; &nbsp;if (!$i) {
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;echo "<tr><td height=100 align=center colspan=2>자료가 없습니다.</td></tr>";
 &nbsp; &nbsp; &nbsp; &nbsp;}
 &nbsp; &nbsp; &nbsp; &nbsp;?>
 &nbsp; &nbsp; &nbsp; &nbsp;</table></p>
 &nbsp; &nbsp; &nbsp; &nbsp;</td>
 &nbsp; &nbsp;</tr>

<tr>
 &nbsp; &nbsp; &nbsp; &nbsp;<td width="240" align="center" valign="top">
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p><?=latest('basic',board1, 5, 30);?></p>
 &nbsp; &nbsp; &nbsp; &nbsp;</td>
 &nbsp; &nbsp; &nbsp; &nbsp;<td width="240" align="center" valign="top">
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p><?=latest('basic',iadd, 5, 30);?></p>
 &nbsp; &nbsp; &nbsp; &nbsp;</td>
 &nbsp; &nbsp;</tr>
 &nbsp; &nbsp;<tr>
 &nbsp; &nbsp; &nbsp; &nbsp;<td width="240" align="center" valign="top">
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p><?=latest('basic',board2, 5, 30);?></p>
 &nbsp; &nbsp; &nbsp; &nbsp;</td>
 &nbsp; &nbsp; &nbsp; &nbsp;<td width="240" align="center" valign="top">
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p><?=latest('basic',board7, 5, 30);?></p>
 &nbsp; &nbsp; &nbsp; &nbsp;</td>
 &nbsp; &nbsp;</tr>
 &nbsp; &nbsp;<tr>
 &nbsp; &nbsp; &nbsp; &nbsp;<td width="240" align="center" valign="top">
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p><?=latest('basic',board3, 5, 30);?></p>
 &nbsp; &nbsp; &nbsp; &nbsp;</td>
 &nbsp; &nbsp; &nbsp; &nbsp;<td width="240" align="center" valign="top">
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p><?=latest('basic',bangmyung, 5, 30);?></p>
 &nbsp; &nbsp; &nbsp; &nbsp;</td>
 &nbsp; &nbsp;</tr>
 &nbsp; &nbsp;<tr>
 &nbsp; &nbsp; &nbsp; &nbsp;<td width="240" align="center" valign="top">
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p><?=latest('basic',board4, 5, 30);?></p>
 &nbsp; &nbsp; &nbsp; &nbsp;</td>
 &nbsp; &nbsp; &nbsp; &nbsp;<td width="240" align="center" valign="top">
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p><?=latest('basic',board5, 5, 30);?></p>
 &nbsp; &nbsp; &nbsp; &nbsp;</td>
 &nbsp; &nbsp;</tr>
 &nbsp; &nbsp;<tr>
 &nbsp; &nbsp; &nbsp; &nbsp;<td width="240" align="center" valign="top">
<p align="center"><?=latest('basic_gallery1',poto, 2, 25);?></p>
 &nbsp; &nbsp; &nbsp; &nbsp;</td>
 &nbsp; &nbsp; &nbsp; &nbsp;<td width="240" align="center" valign="top">
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<p><?=latest('basic_gallery1',board6, 2, 25);?></p>
 &nbsp; &nbsp; &nbsp; &nbsp;</td>
 &nbsp; &nbsp;</tr>
</table>

</body>
추천
2
  • 복사

댓글 전체

혹시 테이블 나누는 테그에 이상이 없나 확인부터 해보시면 어떨까?..
저는 500 을 반으로 나누었거든요...
테이블 테그가 다른 테이블의 영향을 받을 수도 있으니까
꼽꼽히 다시 확인 해보세요..
이소쓰는 그누헌터 index.php에 있는 소스 그대로를 옮긴것 뿐이거든요...
<td width=50>$jiwon</td>  <- 이렇게 늘려도 않되구...

<td><a href='./?doc=hunter/offerview.php&of_id=$row[of_id]'>".conv_subject($row[of_subject],20)."<---이렇게 좁혀두 않되구...--;

table 폭을 600으로 해서 반씩 나눴는데 테이블 폭이 좁아서 그럴까요?
<td width="240" align="center" valign="top">
          <p> <table width='100%' cellpadding=3 cellspacing=1>
      <tr><td colspan=2 height=1 background='./hunter/line.gif'></td></tr>
      <tr class='ht subject subjectbg'><td colspan=2 align=center><a href='./?doc=hunter/offer.php'>구인 현황</a></td></tr>
      <tr><td colspan=2 height=1 background='./hunter/line.gif'></td></tr>
      <?
      $sql = " select * from $cfg[table_offer] order by of_id desc ";
      $result = sql_query($sql);
      for ($i=0; $row=mysql_fetch_array($result); $i++) {
          $jiwon = cut_str($ht->get_search("jiwon", $row[of_jiwon]),4,"");
          echo "
          <tr height=22>
              <td><a href='./?doc=hunter/offerview.php&of_id=$row[of_id]'>".conv_subject($row[of_subject],30)."<---요부분의 제목길이 자르기 를 해보세요 제목이 길면 당연히 필드가 아래로 늘어 나거든요

</a></td>
              <td width=30>$jiwon</td>
적용홈 - http://www.slgi.co.kr/cjhp/gnu3/

소스 잘 보시면 해결 되실듯 합니다.^^;
지수아빠님 .... 다시한번 테이블 값 봐 주세요.

<td width=30>$jiwon</td>

구인 이나 구직이나 같거든요. 참고만 하세요.^^
감사합니다 송형석님, 덕분에 해결했습니다..^^;
잘 나오는데
....구함                      초
                                보
이런식으로 끝에 글자가 두줄로 되버리네요....
잘 몰라서 이거저거 고쳐보다가 그부분은 없앴는데
암튼 됩니다~! 감사합니다~ 복 많~이 받으세요~ ^^
제로보는에서는 별도의 소스가 나와 있어서 쉬웠는데
나름데로 꽁수를 써봤거든요
정리되는데로 올리겠습니다..

에고 그누헌터 최신글 뽑는거 연구한다고
오늘도 게임방비만 5천원 쓰고 갑니다 ( ㅠ ㅠ);
^^ 다른것은 잘못하는데 꼼수는 잘 쓰는것 같죠 ㅎㅎㅎㅎ

다음번엔  싸이트 메신져  홈페이지에 다는거랑
홈페이지 회원연동하는거에 대해서 올릴까 합니다..^^
지수아빠님 인가 원하셨는데 ....
벌써 덧글까지 달아 놓으셨더군요.^^;

저도 잘 쓰겠습니다.

요지는

include "./hunter/hunter.lib.php";
$ht = new Hunter_;

랑 해당 테이블 시작~끝 이네요.^^;
그냥 생각이 나서 함 해봤습니다
완성되지 않은 홈피라서 테스트겸 해본겁니다
저에게는 꼭 필요한 소스는 아니구요
^^
그냥 함 해본겁니다..

다른방법이 있다면 
별도 파일을 만들어서 인쿨루트 시키는것도 좋을듯하구요
© SIRSOFT
현재 페이지 제일 처음으로