알람 링크 문제입니다.ㅠㅠ

알람 링크 문제입니다.ㅠㅠ

QA

알람 링크 문제입니다.ㅠㅠ

답변 1

본문



<ul class="pushmsg_list armv_list">
   <?php
   while ($row = sql_fetch_array($result)) {
   ?>
   <li data-from_case="<?php echo $row['msg_type']?>">
      <span class="list_chk">
         <label for="chk_bn_id_<?php echo $row['msg_id']?>" class="sir_sr"></label>
         <input type="checkbox" name="chk_bn_id[]" value="<?php echo $row['msg_id']?>" id="chk_bn_id_<? echo $row['msg_id']?>">
      </span>
      <input type="hidden" name="chk_g_ids[0]" class="hidden_ids" value="<? echo $row['msg_id']?>">
      <input type="hidden" name="chk_read_yn[0]" value="<?php echo $row['msg_check'] ?>">
      <?php
      if ($row['msg_check'] == 'y') {
         $check_class = 'list_read';
         $check_msg = '읽음';
      } else {
         $check_class = '';
         $check_msg = '읽기전';             
      }
      ?>
      <a href="<? echo $row['msg_link']?>" class="<?php echo $check_class?> list_link">
         <span class="list_time"><?php echo srd_date_return($row['msg_wdate'])?><?php// echo substr($row['msg_wdate'],0,10)?></span>
         <span class="list_stat"><?php echo $check_msg?></span>
         <span class="list_tit"><?php echo $row['msg_subject']?><!--<em>9</em>--></span>
      </a>
      <a href="javascript:void(0);" class="list_del"><img src="<?php echo G5_URL?>/plugin/srd-pushmsg/images/ico_del.gif" alt="알림삭제"></a>
   </li>    
   <?php  } // row end?>

 

알람 링크가 나오는  index 인데요~

홈페이지 주소가 다르게 나와서

알람을 클릭하면 연결이 되질 않습니다.

 

홈페이지 주소를 강제로

위 소스에 등록할수 있는 방법이 있는지요?ㅠㅠ

 

 <?php
   while ($row = sql_fetch_array($result)) {
   ?>

 

목록이 나오는 부분은 이 부분같은데

어디서 무얼 수정해야하는지 모르겠습니다. ㅠㅠ

 

이 질문에 댓글 쓰기 :

답변 1

현재 올려주신 코드로는 알수가없고

디비에서 내용을 불러오는거라면 디비에서 내용을 수정하시면 됩니다

result를 가져오는거보면 일단 쿼리를 호출할텐데

해당 쿼리문으로 불러오는 내용을 확인해보세요

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 405
© SIRSOFT
현재 페이지 제일 처음으로