示例#1
0
<!DOCTYPE html>

<head>
    <!--[if IE 6]><html class="ie lt-ie8"><![endif]-->
    <!--[if IE 7]><html class="ie lt-ie8"><![endif]-->
    <!--[if IE 8]><html class="ie ie8"><![endif]-->
    <!--[if IE 9]><html class="ie ie9"><![endif]-->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>
        <?php 
meta_title();
?>
    </title>
    <link rel="shortcut icon" href="<?php 
echo home_url();
?>
/favicon.ico" type="image/x-icon" />
    <script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>
	<!--
    <link rel="stylesheet" type="text/css" href="<?php 
bloginfo('template_url');
?>
/css/normalize.css" />
    <link rel="stylesheet" type="text/css" href="<?php 
bloginfo('template_url');
?>
/css/demo.css" />
    <link rel="stylesheet" type="text/css" href="<?php 
bloginfo('template_url');
示例#2
0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
?>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />

    <title><?php 
echo meta_title();
?>
</title>
    <meta name="title" content="<?php 
echo osc_esc_html(meta_title());
?>
" />
<?php 
if (meta_description() != '') {
    ?>
    <meta name="description" content="<?php 
    echo osc_esc_html(meta_description());
    ?>
" />
<?php 
}
if (function_exists('meta_keywords')) {
    ?>
    <?php 
    if (meta_keywords() != '') {
示例#3
0
osc_enqueue_script('jquery-ui');
osc_enqueue_script('tabber');
osc_enqueue_script('jquery-ad-gallery');
osc_enqueue_script('jquery-validate');
osc_enqueue_script('theme-global');
osc_enqueue_script('theme-ui');
osc_enqueue_style('style', osc_current_web_theme_styles_url('style.css'));
?>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />

<title><?php 
echo meta_title();
?>
</title>
<meta name="title" content="<?php 
echo meta_title();
?>
" />
<meta name="description" content="<?php 
echo meta_description();
?>
" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Expires" content="Fri, Jan 01 1970 00:00:00 GMT" />

<script type="text/javascript">
    var fileDefaultText = '<?php 
echo osc_esc_js(__('No file selected', 'realestate'));
?>
';
    var fileBtnText     = '<?php 
示例#4
0
    <script type="text/javascript" > $('document').ready(function(){ $('.change').niceselect(); }) </script>
	<?php 
include 'search.php';
include 'searchartiste.php';
include 'searchevent.php';
$id = $_GET["oeuvre"];
$oeuvre = requete_oeuvre_new($id, $_GET["type"]);
$imgs = images_oeuvre($oeuvre);
$artved = requete_artiste('{"query":{"bool":{"must":[],"must_not":[{"constant_score":{"filter":{"missing":{"field":"artist.oeuvres"}}}},{"constant_score":{"filter":{"missing":{"field":"artist.title"}}}}],"should":[{"match_all":{}}]}},"from":0,"size":3,"sort":[],"facets":{}}');
?>
    <link rel="canonical" href="<?php 
echo url_social($oeuvre);
?>
" />
	<title><?php 
echo meta_title($oeuvre);
?>
</title>
	<meta name="description" content="<?php 
echo meta_oeuvre($oeuvre);
?>
">
	<link rel="shortcut icon" href="../sites/all/themes/exupery/favicon.png" type="image/x-icon">

	<!--<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>-->
	<script src="js/main.js"></script>
   
	<!--google analytics-->
	<script>
	  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
	  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
示例#5
0
function item_success_meta_og()
{
    $image = null;
    $r = ItemResource::newInstance()->getResource(osc_item_id());
    if (isset($r['pk_i_id'])) {
        $image = (string) osc_base_url() . $r['s_path'] . $r['pk_i_id'] . "_thumbnail." . $r['s_extension'];
    }
    $_item = Item::newInstance()->findByPrimaryKey(osc_item_id());
    ?>
<meta property="og:title" content="<?php 
    echo osc_esc_html($_item['s_title']);
    ?>
"/>
<meta property="og:url" content="<?php 
    echo osc_item_url();
    ?>
"/>
<?php 
    if ($image != null) {
        ?>
<meta property="og:image" content="<?php 
        echo $image;
        ?>
"/>
<?php 
    } else {
        ?>
<meta property="og:image" content="<?php 
        echo osc_plugin_url(true) . 'item_success/images/no_photo.gif';
        ?>
"/>
<?php 
    }
    ?>
<meta property="og:site_name" content="<?php 
    echo osc_esc_html(meta_title());
    ?>
"/>

<meta property="og:description" content="<?php 
    echo osc_esc_html(osc_highlight($_item['s_description']));
    ?>
"/>
<?php 
}
示例#6
0
/** 
* function to add head title and meta tags
*
*/
function osclasswizards_meta()
{
    ?>
<title><?php 
    echo osc_esc_html(meta_title());
    ?>
</title>
<?php 
    if (meta_description() != '') {
        ?>
<meta name="description" content="<?php 
        echo osc_esc_html(meta_description());
        ?>
" /><?php 
    }
    if (meta_keywords() != '') {
        ?>
<meta name="keywords" content="<?php 
        echo osc_esc_html(meta_keywords());
        ?>
" /><?php 
    }
}