Ejemplo n.º 1
0
    $query_rsAdminCallNum = "SELECT * FROM lctr_External_cn ORDER BY left_cn ASC";
}
if ($rsAdminCallNum = $dbconnects["stage"]->query($query_rsAdminCallNum)) {
    $row_rsAdminCallNum = $rsAdminCallNum->fetch_assoc();
    $totalRows_rsAdminCallNum = $rsAdminCallNum->num_rows;
} else {
    $error = "Error retrieving locator rows: " . $dbconnects["stage"]->error;
}
?>

<!DOCTYPE html>
<html>
<head>
<title>Firestone Locator | External Locations</title>
<?php 
styles();
?>
</head>
<body>
	<?php 
page_header();
?>
	<div class="content">
		<h2>Configure external locations.</h2>
		<ul>
			<li>Location Code: Indicate location code of collection.</li>
			<li>Website: Indicate a website link to be included with item's
				information (<em>for recap items, the link is automatically
					generated for specific item)</em>.
			</li>
			<li>Message: Include a brief message that will be appended to the end
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta name="viewport" content="width=device-width">
	<?php 
styles(array('style' => '/assets/childstyle.css'));
?>
	
</head>
<body>
<div id="page" class="hfeed site">	
		<header id="masthead" class="site-header" role="banner">
			<div class="site-branding">
				<h1>IMPORT JOOMLA USERS TO WORDPRESS</h1>
			</div><!-- .site-branding -->
		</header><!-- .site-header -->
	<div id="content" class="site-content"><!-- .site-content -->
Ejemplo n.º 3
0
				color: ' . $color[$ssearch] . ';
				font-size: ' . $size[$ssearch] . ';
				font-weight: ' . $type[$ssearch] . ';
				font-face: ' . $face[$ssearch] . ';
				}';
            }
        }
        $custom_css .= '</style>';
    }
    /**
     * Search in styles.xml to apply styles to specific type of activity
     */
} else {
    if (file_exists($xmlPath . 'styles.xml')) {
        include $classPath . 'styles_class.php';
        $style = styles($xmlPath . 'styles.xml');
        for ($x = 0; $x < count($style[0]); $x++) {
            if (trim($style[0][$x]) == trim($activity)) {
                $background = $style[1][$x];
                $formatComp = $style[2][$x];
            }
        }
        if (isset($formatComp)) {
            /**
             * Format parser
             */
            include $classPath . 'format_class.php';
            $styleFormat = format($xmlPath . 'formats.xml');
            $name = $styleFormat[0];
            $color = $styleFormat[1];
            $size = $styleFormat[2];
Ejemplo n.º 4
0
 /**
  * Test style enqueue.
  */
 public function test_styles()
 {
     // Regular
     \WP_Mock::wpFunction('wp_enqueue_style', array('times' => 1, 'args' => array('wpd', 'url/assets/css/wp-documenter.min.css', array(), '0.0.1')));
     styles();
     $this->assertConditionsMet();
     // Debug Mode
     \WP_Mock::wpFunction('wp_enqueue_style', array('times' => 1, 'args' => array('wpd', 'url/assets/css/wp-documenter.css', array(), '0.0.1')));
     styles(true);
     $this->assertConditionsMet();
 }