git-svn-id: https://msi/svn/firstRepo/WebClient/branches/NewRelease@82 0f545695-f87b-41b6-9a03-7f16563b5454

This commit is contained in:
2016-05-15 12:20:06 +00:00
parent 4c1e83cec1
commit 85c9f11b9f
19 changed files with 2266 additions and 67 deletions
+9 -3
View File
@@ -42,15 +42,17 @@ require_once "../Service_Manut/utility.php";
$query = "select medium_link, type_format from immagini where immagini.id_ricette = " . $ricetta . " and bCover = 1";
$retObj = $mysqlconnetion->queryToObject($query);
if(count($retObj)>0){
$ogFbImage2 = str_replace("?dl=0", "",$retObj[0]["medium_link"]);
$ogFbTypeFormat = $retObj[0]["type_format"];
if($ogFbImage2 != ""){
echo "<meta property='og:image' content='" . $ogFbImage2 . "'/>";
echo "<meta property='og:image:type' content='" . $ogFbTypeFormat . "'/>";
echo "<meta property='og:image' content='" . $ogFbImage2 . "'/>";
echo "<meta property='og:image:type' content='" . $ogFbTypeFormat . "'/>";
}
}
else{
echo "<meta property='og:image' content='" . $ogFbImage . "'/>";
echo "<meta property='og:image' content='" . $ogFbImage . "'/>";
}
}
else{
@@ -62,6 +64,10 @@ require_once "../Service_Manut/utility.php";
<meta property="og:url" content="<?php echo $ogFbUrl; ?>"/>
<meta property="og:type" content="<?php echo $ogFbType; ?>"/>
<meta property="og:description" content="<?php echo $ogFbDescription; ?>" />
<!-- END Meta tag per FB-->
<meta name="msapplication-TileColor" content="#3b5998">
<meta name="theme-color" content="#3b5998">
<meta name="msapplication-TileImage" content="https://dl.dropboxusercontent.com/s/pj3fk1lgc4cefwx/Icon~ipad%402x.png">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" >
<link rel="stylesheet" href="css/style.min.<?php echo filemtime('css/style.min.css'); ?>.css">
<link href='http://fonts.googleapis.com/css?family=Pompiere' rel='stylesheet' type='text/css'>