query($sql);
if ($result->num_rows > 0) {
while ($row = $result->fetch_assoc()) {
$rowonetop_height = $row['rowonetop_height'];
$rowonetop_width = $row['rowonetop_width']; }}
/**
*
* Build the block.
*
*/
$sql = "SELECT * FROM blocks WHERE archiveblock = 'No' AND position = 'Row One Top' ORDER BY block_position + 0 ASC";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while ($row = $result->fetch_assoc()) {
/**
*
* Fetch the association
* and start the array.
*
*/
if ($row['locate'] == 'None' || $row['locate'] == '' && $row['usesniplets'] == 'No' || $row['usesniplets'] == '') {
if ($row['position'] == 'Row One Top' && $row['showblock'] == 'Yes' || $row['showblock'] == '') {
/**
*
* The number of blocks to show
* in a row is set as the block
* width by defining it as a column.
* The column is defined in the themes
* css then the height is set. Allow
* overflow vertical only.
*
*/ ?>
= $row['title'] ?>

= $row['title'] ?>
= $row['title'] ?>
= $row['title'] ?>
= $row['title'] ?>
= $row['title'] ?>
= $row['title'] ?>
= $row['title'] ?>