Ejemplo n.º 1
1
				<tr class="sa_table_row">
				<td colspan="2" class="sa_table_cell">
				<?php 
    $link_more = JRoute::_('index.php?option=com_sauto&view=feedback');
    echo '<a href="' . $link_more . '">' . JText::_('SAUTO_TOATE_CALIFICATIVELE') . '</a>';
    ?>
				</td>
			</tr>
				<?php 
}
?>
	
	</table>
</center>
</td>
		<td class="sa_table_cell" valign="top" align="right">
			<div style="float:right;" class="sa_allrequest_r">
			<?php 
//incarcam module in functie de pagina accesata
echo '<div class="sa_reclama_right">';
$pozitionare = 'l';
$categ = '';
echo showAds($pozitionare, $categ);
echo '</div>';
//echo '<div>'.$show_side_content.'</div>';
?>
		
			</div>
		</td>
	</tr>
</table>
Ejemplo n.º 2
1
    showAds2();
} else {
    require 'dbase.php';
    $stmt = $mysqli->prepare("select id from ads");
    if (!$stmt) {
        printf("Query Prep Failed: %s\n", $mysqli->error);
        exit;
    }
    $stmt->execute();
    $result = $stmt->get_result();
    while ($row = $result->fetch_assoc()) {
        $ids[] = $row['id'];
    }
    if (!empty($ids)) {
        for ($i = 0; $i < sizeof($ids); $i++) {
            showAds($ids[$i]);
        }
    } else {
        echo "try adding some news in the 'User Page' tab";
    }
    $stmt->close();
}
?>

				<?php 
if (isset($_POST['submit1'])) {
    require 'dbase.php';
    $stmt = $mysqli->prepare("SELECT * FROM ads where id=?");
    if (!$stmt) {
        printf("Query Prep Failed: %s\n", $mysqli->error);
        exit;
Ejemplo n.º 3
1
            echo showAds($pozitionare, $id);
            echo '</td>';
            echo '</tr>';
        }
        $i++;
    }
    ?>
</table>
		</td>
		<td class="sa_table_cell" valign="top" align="right">
			<div style="float:right;" class="sa_allrequest_r">
			<?php 
    //incarcam module in functie de pagina accesata
    echo '<div class="sa_reclama_right">';
    $pozitionare = 'l';
    echo showAds($pozitionare, $id);
    echo '</div>';
    echo '<div>' . $show_side_content . '</div>';
    ?>
			</div>
		</td>
	</tr>
</table>

<?php 
    if ($total > $rezult_pagina) {
        echo $paginare;
    }
    echo '<br /><br />';
}
?>
Ejemplo n.º 4
1
        </div>
        
        <div id="price_rw" class="form-group rl">
            <label id="price_lbl" for="fld_price" class="form-label">Цена</label>
            <input type="text" maxlength="9" class="form-input-text-short" value="<?php 
echo $formParam['price'];
?>
" name="price" id="fld_price">&nbsp;<span id="fld_price_title">руб.</span>
        </div>
        <input type="hidden" name="id" value="<?php 
if (isset($_GET['edit'])) {
    echo $_GET['edit'];
}
?>
"/>
        <div class="col-sm-12">
                <button type="submit" class="btn btn-success">Отправить</button>
        </div>

    </form>
    <div class="row">
       
       <?php 
showAds($data);
?>
        
    </div>
    </div>

</body>
</html>