janicemurby 7

hi my husband is customising a website template and wants to add content over a teransparent image but when he adds the tex it goes underneath how can he do this here is where the image is placed

            `<div id="homepage" class="clear">`
            `<section class="main_slider"><img src="images/demo/1200x400.gif" alt="">`
            `</section>`

and a preview of image is in http://swinguk.uk/KEVINWORK/

there is currently no css for the div id home
or section class

if anyone has any ideas be much appreciated ty in advance jan x

janicemurby 7

hi all i have recently purchased a script and im attempting to fix it would anyone know how to solve these 2 errors which appear to be coming from this function

[09-Jun-2018 12:40:57 UTC] PHP Warning: Division by zero in /home/public_html/includes/functions.php on line 126
[09-Jun-2018 12:41:19 UTC] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/public_html/includes/functions.php on line 135

if(!function_exists('Pagination')){
    function Pagination($config=array()){
        if($_SESSION['lang']=='L1'){
            $firstpage = 'First';
            $lastpage = 'Last';
            }
        else{
            {
            $firstpage = 'Trang đầu';
            $lastpage = 'Trang cuối';
            }
            }
        $output = '';
        ////FIRST ERROR $rs_maxpage = $config['js_numrows_page']>0?ceil($config['js_numrows_page']/$config['per_page']):0;
        $eitherside = ($config['showeachside'] * $config['per_page']);
        $paga = (strpos($config['cururl'], '?')!==false)?'&p=':'?p=';
        if($rs_maxpage>1){
            if($config['rs_start']+1 > $eitherside){
                $page = $config['curpage'] - 1;
                $output .= '<a href="'.$config['cururl'].'"><i>'.$firstpage.'</i></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="'.$config['cururl'].$paga.$page.'"><i><<</i></a> . . . ';
                }
                $pg=1;
        ////SECOND ERROR    for($y=0; $y<$config['js_numrows_page']; $y+=$config['per_page']){
                if(($y > ($config['rs_start'] - $eitherside)) && ($y < ($config['rs_start'] + $eitherside)))
                    $output .= ($pg==$config['curpage'])?'<b> &nbsp;'.$pg.'</b>':' &nbsp;<a href="'.$config['cururl'].$paga.$pg.'">'.$pg.'</a>';
                $pg++;
                }
            if(($config['rs_start']+$eitherside)<$config['js_numrows_page']){
                $page = $config['curpage'] + 1;
                $output .=  ' . . . <a href="'.$config['cururl'].$paga.$page.'"><i>>></i></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="'.$config['cururl'].$paga.$rs_maxpage.'"><i>'.$lastpage.'</i></a>';
                }
            }
        return $output;
        }
    }

Any help would be much appreciated ty jan x

janicemurby 7

im just going by what is in the script that came in the purchase but i do welcome other ways of doing things its just how the heck do i do it hun :)

janicemurby 7

ive tried putting the

else eval("$\$rowcf['Variable'] = \"$rowcf['Value']\";");

but then im getting a red cross on that line

janicemurby 7

i didnt write the script it came in some software that was purchased and tyring to get it working my levels are very basic and have googled most or problems but was struggling with this jan x

janicemurby 7

hi all im getting the following error
PHP Notice: Array to string conversion in /home/public_html/includes/database.php(23) : eval()'d code on line 1
in this file

<?php
$link = @mysqli_connect($hostname, $username, $password, $database);
if (!$link) {
    die('Could not connect !');
    exit();
}
else{
    mysqli_set_charset($link,'utf8');

    }
$sqlcf = 'select Variable, Value from '.$table_prefix.'site_settings where IsRead = 0';
$qrycf = mysqli_query($link,$sqlcf);
if(!$qrycf)
    die('Can not load config data !');
elseif(mysqli_num_rows($qrycf)>0){
    while($rowcf = mysqli_fetch_assoc($qrycf)){
        if('filetype'==trim(strtolower($rowcf['Variable'])))
            $$rowcf['Variable'] = explode(',', $rowcf['Value']);
        elseif('numof_record_perpage'==trim(strtolower($rowcf['Variable'])))
            $$rowcf['Variable'] = intval($rowcf['Value']);
        elseif('default_language'==trim(strtolower($rowcf['Variable'])))
            $_SESSION['lang'] = isset($_SESSION['lang'])?$_SESSION['lang']:$rowcf['Value'];
        else eval("$\$rowcf['Variable'] = \"$rowcf[Value]\";");
        }
    }
else die('Can not find setting table !');

and im not sure what i have to do can someone please advice many thanks in advance jan x

janicemurby 7

okies would i have to change this

from

if(mysqli_num_rows($list)>0){

to

if(mysqli_num_rows($list)>100){

as i have read in google but still brings same error

janicemurby 7

hi all im attempting to update coryApp script and im getting the following error

PHP Warning: Division by zero

can anyone help on this please be much appreicated heres is where the error is coming from

if(isset($error) && !empty($error))
            echo '<p style="margin:0px; padding:5px 20px"><font color="#FF0000"><small><i>'.$error.'</i></small></font></p>';
        $config['showeachside'] = 4;
        $config['per_page'] = 20;
        $config['js_numrows_page'] = mysqli_num_rows(getListState($str, ''));
        $config['curpage'] = empty($_GET['p'])?1:$_GET['p'];
        $config['rs_start'] = ($config['curpage']*$config['per_page'])-$config['per_page'];
        if($config['js_numrows_page'] < $config['per_page'])
            $config['per_page'] = $config['js_numrows_page'];
        $page = (isset($_GET['p']) && intval($_GET['p'])>0)?'&p='.$_GET['p']:'';
        $config['cururl'] = $base_url.'admincp/states.php'.$pstr;
        $rs_maxpage = ceil($config['js_numrows_page']/$config['per_page']);
        $paging = Pagination($config);
        $list = getListState($str, " limit ".$config['rs_start'].", ".$config['per_page']);
        if(mysqli_num_rows($list)>0){

and here is the function for it

if(!function_exists('getListState')){
    function getListState($str='', $limit=''){
        global $conn;
        $sql = "SELECT StateID as Id, State as L1Value, s.CountryID as L3Value, Country as L4Value from ".$GLOBALS['table_prefix']."states as s inner join ".$GLOBALS['table_prefix']."countries as c on c.CountryID = s.CountryID ".$str." order by StateID desc ".$limit;
        $query = mysqli_query($conn,$sql);
        if(!$query)
            return '';
        else return $query;
        }
    }

janicemurby 7

hi im attempting to update a script from coryApp and im getting the following error

PHP Notice: Undefined offset: 11

here is the code where it is coming from can someone point me in the right direction on this ty jan x

<td width="15%" class="headrows4" valign="top" align="left">
                        THIS LINE >>><p><input type="checkbox" style="margin-left:0px; padding-left:0px" value="<?php echo $list['PhotoID'][$i+5];?>" name="imgs[]"  />
                        <?php echo $list['ProfileName'][$i+5];
                            $extend = ($list['PrimaryPhotoID'][$i+5]==$list['PhotoID'][$i+5])?'Primary':date('m-d-Y', strtotime($list['InsertDate'][$i+5]));
                            echo ' <i>('.$extend.')</i>';?></p>
                        <img src="<?php echo $base_url.$uploaddir.'/'.$list['UserID'][$i+5].'u'.$list['PhotoID'][$i+5].'.'.$list['PhotoExtension'][$i+5];?>" border="0" width='170' />
                    </td>

janicemurby 7

its not showing postcodes after selecting regions

janicemurby 7

hi ive done a piece of code for if select a region the postcodes pop up for that region all works on a seperate file but if i put on my working script it doesnt work any help would be much appreciated here is test code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 
  <head> 
    <meta http-equiv="content-type" content="text/xhtml; charset=utf-8" /> 
    <title>Dynamic Select Statements</title> 
<script type="text/javascript">
 //<![CDATA[ 
 // array of possible countries in the same order as they appear in the event_postalcode selection list 
 var postcodeLists = new Array(4) 
 postcodeLists["empty"] = ["Select a Region"]; 
 postcodeLists["Channel Islands"] = ["Please Choose", "GY", "JE"]; 
 postcodeLists["East Midlands"] = ["Please Choose", "CB", "CO", "DE", "DN", "IP", "LE", "LN", "NG", "NR", "PE", "S"]; 
 postcodeLists["Greater London"] = ["Please Choose", "BR", "CR", "DA", "E", "EC", "EN", "HA", "IG", "KT", "N", "NW", "RM", "SE", "SM", "SW", "TW", "UB", "W", "WC", "WD"]; 
 postcodeLists["Isle of Man"] = ["Please Choose", "IM"]; 
 postcodeLists["North East"] = ["Please Choose", "DH", "DL", "HG", "HU", "LS", "NE", "SR", "TS", "WF", "YO"]; 
 postcodeLists["North West"] = ["Please Choose", "BB", "BO", "BL", "CA", "CH", "CW", "FY", "HX", "L", "LA", "M", "OL", "PR", "SK", "WA", "WN"]; 
 postcodeLists["Northern Ireland"] = ["Please Choose", "BT"]; 
 postcodeLists["Scotland"] = ["Please Choose", "AB", "DD", "DG", "EH", "FK", "GH", "SI", "VK", "AK", "WK", "YM", "LP", "AP", "MT", "D", "ZE"]; 
 postcodeLists["South East"] = ["Please Choose", "AL", "BN", "CM", "CT", "GU", "HP", "LU", "ME", "MK", "OX", "PO", "RG", "RH", "SG", "SL", "SO", "SS", "TN"]; 
 postcodeLists["South West"] = ["Please Choose", "BA", "BH", "BS", "DT", "EX", "GL", "PL", "SN", ...

janicemurby 7

if(!function_exists('getListed')){
    function getListed($field=array(), $table=array()){
        global $link;
        $sel = '';
        foreach($field as $field => $val)
            $sel .= $field.' as '.$val.', ';
        $sql = "select ".substr($sel, 0, -2)." from ".$table[0]." order by ".$table[1]." desc";
        if(!empty($link)) {
        $query = mysqli_query($link,$sql);
        if(!$query)
            return false;
        else return $query;
        }
    }
    }

janicemurby 7

it works along with this section on form

<tr>
                        <td width="30%" align="right" valign="top">Educations : </td>
                        <td width="70%" align="left"><select name="slEducation">
                            <?php
                            $sel = isset($_POST['slEducation'])?$_POST['slEducation']:$list['EducationID'];
                            $sql = 'select EducationID as Id, '.$_SESSION['lang'].'Education as LName from '.$table_prefix.'educations order by TopSorted desc, LName asc';
                            dropdownlist($sql, $sel);
                            ?>
                        </select></td>
                    </tr>

then heres the database table for it

CREATE TABLE `dt_educations` (
  `EducationID` smallint(5) UNSIGNED NOT NULL,
  `L1Education` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
  `L2Education` varchar(40) COLLATE utf8_unicode_ci NOT NULL,
  `L3Education` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
  `L4Education` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
  `TopSorted` smallint(6) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

janicemurby 7

hi im working on a php script and i have come across the following error does anyone have a ideal what can cause this the error is:
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/letsswin/public_html/dating_V1/dating/admincp/educations.php on line 74.

the code where it comes from is :

<?php
        if(isset($error) && !empty($error))
            echo '<p style="margin:0px; padding:5px 20px"><font color="#FF0000"><small><i>'.$error.'</i></small></font></p>';
        $list = getListed(array('EducationID' => 'Id', 'L1Education' => 'L1Value', 'L2Education' => 'L2Value'), array($table_prefix.'educations', 'Id'));
        if(count($list)>0){
        ?>

any help would be much appreciated ty jan x

janicemurby 7

put fresh copy in and works

janicemurby 7

hi im attempting to update a php srcipt and fixing errors and i have a error in the following block but cannot work out where

if($_SERVER['REQUEST_METHOD']=='POST' && isset($_POST['smcomplete'])){
    if(empty($_POST['abouth']))
        $err_h = $aboutherorhis;
    elseif(strlen($_POST['abouth'])<6)
        $err_h = $datashort;
    else{
    ERROR ON THIS LINE>>>   $match = ($_POST['matchsame']=='on')?1:0;slBodyType'], $_POST['slHeightfrom'], $_POST['slHeightt
        $data = array($_POST['rdgender'], $_POST['slagefrom'], $_POST['slageto'], $_POST['slDatingInterest'], mysqli_real_escape_string($link,$_POST['abouth']), $_POST['slMarital'], $_POST['slReligion'], $_POST['slEducation'], $_POST['o'], $_POST['slSmoking'], $_POST['slDrinking'], $match);
        if(!yourmatch($data, $_SESSION['user_temp']))
            $error = $errordata;
        else{
            $_SESSION['memberid'] = $_SESSION['user_temp'];
            $_SESSION['memberemail'] = $_SESSION['email_temp'];
            unset($_SESSION['user_temp']);
            unset($_SESSION['email_temp']);
            mysqli_close($link);
            header('Location: '.$base_url.'members/myaccount.php');
            exit();
            }
        }
    }

Ive attempted to put

$_POST['slHeightt'];

in but it doesnt solve error

any ideas or solutions much appreciated many thanks jan x

janicemurby 7

problem solved had a typo in function file

janicemurby 7

hi all im trying to update a script i found on a disk for a member site and im struggling with the following error

PHP Notice:  Array to string conversion in /home/public_html/dating_V1/dating/includes/database.php(20) : eval()'d code on line 1

heres the code for that section of php

 <?php
$link = mysqli_connect($hostname, $username, $password, $database);
if (!$link) {
    die('Could not connect !');
    exit();
}

$sqlcf = 'select Variable, Value from '.$table_prefix.'site_settings where IsRead = 0';
$qrycf = mysqli_query($link,$sqlcf);
if(!$qrycf)
    die('Can not load config data !');
elseif(mysqli_num_rows($qrycf)>0){
    while($rowcf = mysqli_fetch_array($qrycf)){
        if('filetype'==trim(strtolower($rowcf['Variable'])))
            $$rowcf['Variable'] = explode(',', $rowcf['Value']);
        elseif('numof_record_perpage'==trim(strtolower($rowcf['Variable'])))
            $$rowcf['Variable'] = intval($rowcf['Value']);
        elseif('default_language'==trim(strtolower($rowcf['Variable'])))
            $_SESSION['lang'] = isset($_SESSION['lang'])?$_SESSION['lang']:$rowcf['Value'];
        else eval("$\$rowcf['Variable'] = \"$rowcf[Value]\";");
        }
    }
else die('Can not find setting table !');
?>

as when i attempt to load site up im geting a blank page any help would be much appreciated x

janicemurby 7

Hi i have several user types i.e female, male couple etc and when they register each group goes to there own page for profile setup

but when they login they go to one standard profile page that came with script how would i redirect them to there own profile page that goes with there group that they sign up into

heres code to header them to profile setup page that ive already done which works

if($_POST['gender']=='Couple MF')
{
     header('location:registration2MF.php');

}
else if($_POST['gender']=='Couple MM')
{
     header('location:registration2MM.php');
}
else if($_POST['gender']=='Couple FF')
{
     header('location:registration2FF.php');
}
else if($_POST['gender']=='Male')
{
     header('location:registration2M.php');
}
else if($_POST['gender']=='Female')
{
     header('location:registration2F.php');
}
else if($_POST['gender']=='TV/TS')
{
     header('location:registration2TT.php');
}
        exit;

many thanks in advance x

janicemurby 7

it came with a script that trying up date so didnt write it myself but ill search another not to worry x

janicemurby 7

i do have more code in the html section in a php block which didnt think to include see below

<?php if($reccnt>0){
      while($fetch_refer = mysqli_fetch_array($finalsearch)){ 

      // fetch details form favorite user
      $referer      = mysqli_fetch_array(mysqli_query($conn,"select * from user where user_id = '".$fetch_refer['favor_id']."'"));
      $fetch_img    = mysqli_fetch_array(mysqli_query($conn,"select * from user_images where user_id = '".$referer['user_id']."'"));
      $show_img     = $fetch_img['user_image'];

      $referer_info = mysqli_fetch_array(mysqli_query($conn,"select * from user_info where user_id='".$fetch_refer['favor_id']."'"));
      $user_birthdate = $referer['user_birthdate'];
      $lastlogin    = mysqli_fetch_array(mysqli_query($conn,"select * from user_lastlogin where user_id='".$fetch_refer['favor_id']."'"));
      $onstatus     = $lastlogin['online_status'];
      ?>

then i have this section hope this helps hun

<div class="blank"><a href="viewprofile.php?profid=<?php echo $referer['user_id'];?>"><img src="images/user_images/smallthumb/<?php echo $show_img;?>" height="90px" width="90px"/></a></div>
        <table width="761">
          <tr>
            <td width="234" height="85" class="padding_top20"><div class="inbox_txt fav_marg_wid"> <a href="viewprofile.php?profid=<?php echo $referer['user_id'];?>">
                <?php echo $referer['user_name'];?>
                </a></div>
              <div class="inbox_txt fav_marg_wid">
                <?php echo $lastlogin['lastlogin'];?>
              </div></td>
            <td width="286" class="padding_top20"><div class="inbox_txt fav_marg_wid"><?php echo Age($user_birthdate).", "; echo ucfirst($referer_info['city']);?></div>
              <div class="inbox_txt fav_marg_wid">
                <?php echo $referer_info['lookingfor'];?>
                &nbsp;&nbsp;<a href="send_msg.php?uid=<?php echo $referer['user_id'];?>"><img src="images/mail.png" /></a>&nbsp;&nbsp;&nbsp;
                <?php if($onstatus=='1') { 
 $words = explode(' ', trim($referer['user_name'])); ?>
                <a href="javascript:void(0)" onClick="javascript:chatWith('<?php echo $words[0]?>')"><font color="#009900">Chat</font></a>
                <?php } ?>
              </div></td>
            <td width="225" class="padding_top20"><table>
                <tr>
                  <td height="75px;"><div class="inbox_txt fav_marg_wid"><a href="update_note.php?uid=<?php echo $fetch_refer['id'];?>">Update Note</a></div>
                    <div class="inbox_txt fav_marg_wid"><a href="delete_favorite.php?uid=<?php echo $fetch_refer['id'];?>">Remove</a></div>
                    <div class="inbox_txt fav_marg_wid"><a href="viewallmessages.php?sender_id=<?php echo $referer['user_id']?>">View MSGs</a></div></td>

janicemurby 7

hi all im attempting to update some script and i have a undefined error in a page see coding for error

$column = "select * ";
$sql .= " from favorites where user_id = '".$_SESSION['userid']."' ";

of which the information a want to echo shows up

so when i put the following in

if(!empty($sql)) {
$sql .= " from favorites where user_id = '".$_SESSION['userid']."' ";
}

the information echoed no longer shows up

here is the full code for this

<?php 
include("config/db_connect.php");
include("config/ckh_session.php");

// Add user favorite list
if(isset($_POST['favor_id']))
{
    $check_refer = mysqli_query($conn,"select favor_id , user_id from favorites where favor_id = '".$_POST['favor_id']."' and user_id = '".$_SESSION['userid']."'");

    if(mysqli_num_rows($check_refer)<1)
    {
        $sdate = date('d-m-Y h:i:s A');
        $insert = mysqli_query($conn,"insert into favorites set user_id = '".$_SESSION['userid']."', favor_id = '".$_POST['favor_id']."', sdate = '".$sdate."' ") or die(mysqli_error($conn));
        $last_id = mysqli_insert_id($conn);
    }
}

// for pagination code

$start=0;
if(isset($_GET['start'])) $start=$_GET['start'];
$pagesize=10;
if(isset($_GET['pagesize'])) $pagesize=$_GET['pagesize'];

// Fetch favorite user 

$column = "select * ";
if(!empty($sql)) {
$sql .= " from favorites where user_id = '".$_SESSION['userid']."' ";
}
//$user_refer   = mysqli_query($conn,"select * from favorites where user_id = '".$_SESSION['userid']."' ");

$search_ord = " order by id desc  ";

$sql1 = " select count(*) ".$sql;

$sql .= $search_ord;
$sql .= " limit $start, $pagesize ";
$sql = $column.$sql;
$reccnt = getSingleResult($sql1);
$finalsearch = mysqli_query($conn,$sql);

?>

janicemurby 7

After reading up just changing to post and see what happens x

janicemurby 7

hi all im wondering what i can do to stop this happening
advsearch_result.php?city=&country=&gender=a+man&fage=18&lage=99&accomodate=I+can+Accomodate&minheight=152&sexuality=Straight&bodytype=&race=&piercings=No+piercings&tattoos=No+tattoos&dodrink=&smoker=&pincode=&multipleint=&seeking=a+man&meet_type=&travel=I+can+travel&maxheight=213&partner_sexuality=Straight&partner_body_type=Athletic&partner_race=&partner_piercings=No+piercings&partner_tattoos=No+tattoos&partner_drinking=Don't+drink&partner_smoker=&button.x=90&button.y=19
every time i click submit on a form all this come in address bar after file name the code is currently set as

$male        = $_GET['gender'];
$seek        = $_GET['seeking'];
$age1        = $_GET['fage'];
$age2        = $_GET['lage'];

etc ...

many thanks jan x

janicemurby 7

ok sorry its the way i speak but ty for your sugguestion

janicemurby 7

ok was querying the die ill sort that hun and ill use the else ty for geting back hun

janicemurby 7

ive just done a simple register form where i can check username exists and before i put the username exists in the register works but when i have the username check in it doesnt work can someone check this over for me the script and error log are as follows:

with username check included

<?php require 'Connections/connections.php'; ?>
<?php
    if(isset($_POST['register'])) {

       $username = mysqli_real_escape_string($conn, $_POST['username'];
       $email = mysqli_real_escape_string($conn, $_POST['email'];
       $password = mysqli_real_escape_string($conn, $_POST['password'];

       $storePassword = password_hash($password, PASSWORD_BCRYPT, array('cost' => 10));

       //username check start      
       $username = mysqli_query($conn,"SELECT username FROM users WHERE username='$username'");
       $count = mysqli_num_rows($username);

       if($count!=0){

        die("Username already exists! Please type another username");
       }
       //username check finish

       $sql = mysqli_query($conn,"INSERT INTO users (username, email, password)VALUES('{$username}','{$email}','{$storePassword}')");

       header('Location: login.php');
    }
?>

and error log is

PHP Catchable fatal error:  Object of class mysqli_result could not be converted to string in

if anyone can see whats causing this be much appreciated ty jan x

janicemurby 7

hi ive got a html table echoing through php and im having problems displaying image in the table heres what i have so far

if($fetch_image['user_image']!='') {
echo '<td>'.$fetch_image['user_image'].'</td>';
 } else {
echo '<td>'.<img  src='images/blank_big.jpg' height='150px;' width='150px;' />.'</td>';
 }

and here is the fetch section

$user_image = mysqli_query($conn,"select * from user_images where user_id = '".$fetch_user['user_id']."' and main_image = '1' ");
$fetch_image    = mysqli_fetch_array($user_image);

and here is the error i am getting
PHP Parse error: syntax error, unexpected '<' in

any help on this would be much appreciated ty jan x

janicemurby 7

and its still not solved it x

janicemurby 7

ive attempted to add this section below

<?php
  if ($result = mysqli_query($conn,"SELECT * FROM meets ORDER BY id"))
{

into the code below

<?php
  if ($result = mysqli_query($conn,"SELECT * FROM meets ORDER BY id"))<<< added this >>>>
{
if (mysqli_num_rows($result) > 0) {
?>
    <table border='1' cellpadding='10' width='650'>
    <tr>

<?php
while ($row = mysqli_fetch_object($result)) { 
?>
<td colspan="2"><?php echo ucfirst($fetch_user['user_name']);?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo Age($user_birthdate);?>&nbsp;&&nbsp;<?php echo Age($partneruser_birthdate);?><i style="float: right; ">Seeking a ...<?php echo $fetch_meets['event_ltm'];?></i></td>
</tr>
<tr>
<td style="width: 64px; height: 64px; text-align: center"><?php 
        $sql_slide = mysqli_query($conn,"select * from user_images where user_id = '".$fetch_user['user_id']."' and show_profile = '1' ");
        if(mysqli_num_rows($sql_slide)>1) {
        while($row_slide = mysqli_fetch_array($sql_slide))
        {
    ?>
      <img src="images/user_images/smallthumb/<?php echo $row_slide['user_image'];?>" border="0" width="100" height="100" data-tooltip="sticky<?php echo $row_slide['id'];?>" />
      <?php 
        } }
        ?>

          <?php 
            $sql_slideh = mysqli_query($conn,"select * from user_images where user_id = '".$fetch_user['user_id']."' and show_profile = '1' ");
            while($row_slideh = mysqli_fetch_array($sql_slideh))
            {
        ?>
          <?php echo $row_slideh['id'];?>" class="atip"> <img  src="images/user_images/<?php echo $row_slideh['user_image'];?>" />
            <?php if($row_slideh['caption']!='') { ?>

              <?php echo $row_slideh['caption'];?>

            <?php } ?>

          <?php } ?>

        <?php if($fetch_image['user_image']!='') {?>
        <img  src="images/user_images/<?php echo $fetch_image['user_image'];?>" height="150px;" width="150px;" />
        <?php } else { ?>
        <img  src="images/blank_big.jpg" height="150px;" width="150px;" />
        <?php  } ?></td>
        <td width='550'><table>
        <tr><td>&nbsp;&nbsp;<?php echo $fetch_meets['event_type'];?></td></tr>
        <tr><td>&nbsp;&nbsp;<?php echo $fetch_meets['event_country'];?></td></tr>
        <tr><td>&nbsp;&nbsp;<?php echo $fetch_meets['event_postcode'];?></td></tr>
        <tr><td>&nbsp;&nbsp;<?php echo $fetch_meets['event_title'];?></td></tr>
        <tr><td>&nbsp;&nbsp;<?php echo $fetch_meets['event_description'];?></td></tr></table></td>
</tr>
<tr>
<td colspan="2"><?php echo $fetch_meets['event_date'];?><i style="float: right; "><font color="#008000"><?php if($onstatus==1) { echo "Online"; } ?>  </font></i></td>
</tr>
<?php } ?>
</table>

<?php
} else {
    echo "0 results";
}
}
mysqli_close($conn);
?>

into