echo TEXT_KNOWLEDGEBASE_RATE;
?>
" style="background-color:#333333; font-weight: bold; color:#FFFFFF; padding: 5px 8px; border:1px solid #333333; " class="jqPostProductRating" onclick="submitKBRating()" id="comn_button_blue1"/>
                                        <input type="button" value="<?php 
echo BUTTON_TEXT_CANCEL;
?>
"  style="background-color:#333333; font-weight: bold; color:#FFFFFF; padding: 5px 8px; border:1px solid #333333; " class="jqProductRatingCancel" id="comn_button_blue2" onclick="closeKBRating()"/>
                                    </td>
                                </tr>
                            </table>
                        </form>
                    </div>
                </div>
                <?php 
include "./includes/releatedresultsuser.php";
getReleatedResults($title, $kbid);
?>

                <!---------------------------------------EOF RATING POP UP------------------------------->
                <div align="left"><br><br>
                <!-- <input type="button" value=" Back " onClick = "location.href='<?php 
echo "knowledgebase.php?ddlCategory=" . $ddlCategory . "&ddlDepartment=" . $ddlDepartment . "&stylename=KNOWLEDGEBASE&styleminus=threeminus&styleplus=threeplus&numBegin=" . $numBegin . "&start=" . $start . "&begin=" . $begin . "&num=" . $num . "&";
?>
';" class="button"> -->
                    <input type="button" value=" <?php 
echo BUTTON_TEXT_BACK;
?>
 " class="comm_btn" onClick = "location.href='<?php 
echo SITE_URL . "kb/";
?>
';">
                                <tr>
                                    <td align="left"><b><?php 
        echo stripslashes($row['vKBTitle']);
        ?>
</b><br></td>
                                </tr>
                                <tr>
                                    <td align="left"><?php 
        echo stripslashes($row["tKBDesc"]);
        ?>
</td>
                                </tr>
                                <tr><td align="left">
                                <?php 
        include "./includes/releatedresults.php";
        getReleatedResults($row['vKBTitle'], $row['nKBID']);
        ?>

                                </td></tr>
                            </table>
                        <?php 
    } else {
        $sql = "SELECT kb.nKBID,kb.vKBTitle,kb.tKBDesc,c.vCatDesc from sptbl_kb kb\n                                    INNER JOIN sptbl_categories c ON kb.nCatId = c.nCatId where (vKBTitle like  '%{$my_data}%') AND   vStatus ='A'";
        $result_kbtitle = executeSelect($sql, $conn);
        //Pagination
        $totalrows = mysql_num_rows($result_kbtitle);
        settype($totalrows, integer);
        settype($var_begin, integer);
        settype($var_num, integer);
        settype($var_numBegin, integer);
        settype($var_start, integer);