include("../startweb.pinc"); include("designutils.pinc"); $vars = array( fr("i", "pg", 1), fr("i", "sz", 10), ); /// Start a new session if there's an existing session if (isset($_SESSION["bcCardsId"])) { unset($_SESSION["bcCardsId"]); } $pg_title = "Design Your Business Card"; function pg_head() { ?> } $scripts["/_/js/dom.js"] = 1; $scripts["/_/other/excanvas.js"] = 1; function pg_body() { global $vars; foreach ($vars as $v) { global $$v; } ?>
From this page, you can design your business card using our online design tool. There are 4 steps: 1) choose a template below, 2) enter the details needed by the card template, 3) customise your card and 4) order it for printing or submit it for a quote.
Choose a template below or create a card from scratch.
$templates = sqlr("select bcTemplatesId, bcTemplates.* from bcTemplates order by bcTemplatesId desc", $pg, $sz); pageControls($templates); ?>">
$td = $templates->gcv("TemplateData");
if (preg_match_all('#id=[\'"](\w+)[\'"]#', $td, $ids)) {
$ids = $ids[1];
foreach ($ids as $id) {
$td = preg_replace('#\b'.$id.'\b#', $id."_".$templates->gcv("bcTemplatesId"), $td);
}
}
$td = preg_replace('#\$(\w+)\b#', '<$1>', $td);
echo adjustCanvasScripts($td);
?>
|