PEAK XOOPS - Re: Comment box in englishin japanese

Re: Comment box

List posts in the topic

none Re: Comment box

msg# 1.1
depth:
1
Previous post - Next post | Parent - No child | Posted on 2008/5/16 10:20
amrasme  二等兵   Posts: 4
open file comment_new.php

remove line from 30 to 39

replace
$lid = empty( $_GET['com_itemid'] ) ? 0 : intval( $_GET['com_itemid'] ) ;
if( $lid > 0 ) {
        $rs = $xoopsDB->query( "SELECT lid , cid, title ,ext FROM $table_photos WHERE lid=$lid" ) ;
        list( $lid , $cid, $title ,$ext ) = $xoopsDB->fetchRow( $rs ) ;

                if ($title != '') {
                        $com_replytext = "<img src='$thumbs_dir/$lid.$ext' />";
                }
                $com_replytitle = $title;
                include_once XOOPS_ROOT_PATH.'/include/comment_new.php';
        } else {
                exit;
        }

Votes:5 Average:6.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!