$err = enable_credential($id, 0); if (strlen($err) > 0) { header('Location: error.php?msg=' . urlencode($err)); } else { header('Location: credentials.php'); } } else { header('Location: error.php?msg=No id'); } } elseif ($op == "order") { if (isset($_GET['id'])) { $id = $_GET['id']; $order = $_GET['order']; $new_order = $_GET['new_order']; $imuser = $_SESSION['user']; $err = change_order($id, $imuser, $order, $new_order); if (strlen($err) > 0) { header('Location: error.php?msg=' . urlencode($err)); } else { header('Location: credentials.php'); } } else { header('Location: error.php?msg=No id'); } } else { header('Location: error.php?msg=Incorrect op: ' . $op); } } else { header('Location: error.php?msg=No op'); } }
echo '<p class="sizelabel">120px</p>'; echo '<p style="font-size: 120px;">' . change_order($a->getResults()) . '</p>'; echo '<p class="sizelabel">76px</p>'; echo '<p style="font-size: 76px;">' . change_order($a->getResults()) . '</p>'; echo '<p class="sizelabel">46px</p>'; echo '<p style="font-size: 46px;">' . change_order($a->getResults()) . '</p>'; echo '<p style="font-size: 46px;">' . change_order($a->getResults()) . '</p>'; echo '<p class="sizelabel">28px</p>'; echo '<p style="font-size: 28px;">' . change_order($a->getResults()) . '</p>'; echo '<p style="font-size: 28px;">' . change_order($a->getResults()) . '</p>'; echo '<p style="font-size: 28px;">' . change_order($a->getResults()) . '</p>'; echo '<p class="sizelabel">16px</p>'; echo '<p style="font-size: 16px;">' . change_order($a->getResults()) . '</p>'; echo '<p style="font-size: 16px;">' . change_order($a->getResults()) . '</p>'; echo '<p style="font-size: 16px;">' . change_order($a->getResults()) . '</p>'; echo '<p style="font-size: 16px;">' . change_order($a->getResults()) . '</p>'; echo '</div>'; } else { // Intermediate sizes, normal previw echo '<p class="sizelabel">' . $a->count() . ' Results'; echo ' (' . number_format($timer_end, 2) . ' seconds)'; echo '</p>'; echo '<p style="font-size: ' . $filtersize . 'px;'; if (isset($_POST['line']) && !empty($_POST['line'])) { echo ' line-height: ' . $_POST['line'] . ';'; } if ($_POST['loon'] == "yes") { echo ' color: #fefefe;'; } echo '">'; echo $a->getResults();