Completato script di importazione vecchi dati;
Iniziata lavorazione funzioni di share su social media
This commit is contained in:
@@ -7,7 +7,7 @@ Creation Date: 04/mar/2016
|
||||
|
||||
require_once(dirname(__FILE__)."/../load.php");
|
||||
|
||||
$pdo = new PDO("mysql:host=localhost;dbname=fdn_old","root","root");
|
||||
$pdo = new PDO("mysql:host=localhost;dbname=fdn_old","root","root",array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8") );
|
||||
$pdo->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );
|
||||
|
||||
$admin = GlobalVariables::get("dao")->getFirst("AdminModel",array("username"=>"antonio.pianelli"));
|
||||
@@ -31,8 +31,8 @@ else {
|
||||
GlobalVariables::get("dao")->save($admin);
|
||||
}
|
||||
|
||||
|
||||
$statement = $pdo->query("select * from notizia limit 0,10");
|
||||
$imgDir = "/home/rik/Scrivania/FDN_BAK/mediaimg/notizie";
|
||||
$statement = $pdo->query("select * from notizia order by id desc limit 0,100");
|
||||
$dati = $statement->fetchALL(PDO::FETCH_CLASS,"stdClass");
|
||||
// while (is_array($dati) && sizeof($dati)==0){
|
||||
foreach ($dati as $ele){
|
||||
@@ -63,7 +63,7 @@ $dati = $statement->fetchALL(PDO::FETCH_CLASS,"stdClass");
|
||||
$notizia->category = NotiziaModel::CATEGORY_CULTURA;
|
||||
break;
|
||||
case 5://SPETTACOLO
|
||||
$notizia->category = NotiziaModel::CATEGORY_SPETTACOLO;
|
||||
$notizia->category = NotiziaModel::CATEGORY_CULTURA;
|
||||
break;
|
||||
case 4://FISCO E LAVORO
|
||||
$notizia->category = NotiziaModel::CATEGORY_FISCOELAVORO;
|
||||
@@ -72,6 +72,30 @@ $dati = $statement->fetchALL(PDO::FETCH_CLASS,"stdClass");
|
||||
|
||||
$notizia = new NotiziaModel($notizia);
|
||||
GlobalVariables::get("dao")->save($notizia);
|
||||
|
||||
if (preg_match("/^http/",$ele->img)){
|
||||
$media = new stdClass();
|
||||
$media->mediaType = MediaModel::TYPE_YOUTUBE;
|
||||
$media->link = $ele->img;
|
||||
$media = new MediaModel($media);
|
||||
GlobalVariables::get("dao")->save($media);
|
||||
DaoMediaHandler::addMedia($notizia, $media);
|
||||
}
|
||||
|
||||
$curDir = $imgDir."/".$ele->id;
|
||||
if (is_dir($curDir) && is_dir($curDir."/big")){
|
||||
$i=0;
|
||||
$continue = true;
|
||||
$curFile = $curDir."/big/".$i++.".jpg";
|
||||
while(file_exists($curFile)){
|
||||
$media = new stdClass();
|
||||
$media->mediaType = MediaModel::TYPE_IMAGE;
|
||||
$media = DaoMediaHandler::createNewFileBasedMedia($media, $curFile, "jpg");
|
||||
|
||||
DaoMediaHandler::addMedia($notizia, $media);
|
||||
$curFile = $curDir."/big/".$i++.".jpg";
|
||||
}
|
||||
}
|
||||
}
|
||||
// }
|
||||
|
||||
|
||||
@@ -209,6 +209,7 @@ class DaoMediaHandler implements MediaHandlerInterface{
|
||||
*/
|
||||
public static function createNewTextBasedMedia($saveable){
|
||||
$media = new MediaModel($saveable);
|
||||
GlobalVariables::get("dao")->save($media);
|
||||
return $media;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,6 @@ class NotiziaModel extends HasMediaModel{
|
||||
const CATEGORY_SALUTE = 11;
|
||||
const CATEGORY_ANNUNCI = 12;
|
||||
const CATEGORY_FISCOELAVORO = 13;
|
||||
const CATEGORY_SPETTACOLO = 14;
|
||||
|
||||
public static $NOTIZIE_CATEGORY = array(
|
||||
self::CATEGORY_POLITICA=>array("label"=>"Politica","mainMenu"=>true,"hidden"=>false,"pages"=>array("list"=>"politica.php")),
|
||||
@@ -55,8 +54,7 @@ class NotiziaModel extends HasMediaModel{
|
||||
self::CATEGORY_CASA=>array("label"=>"Casa","mainMenu"=>false, "hidden"=>false,"pages"=>array("list"=>"casa.php")),
|
||||
self::CATEGORY_SALUTE=>array("label"=>"Salute","mainMenu"=>false, "hidden"=>false,"pages"=>array("list"=>"salute.php")),
|
||||
self::CATEGORY_ANNUNCI=>array("label"=>"Annunci","mainMenu"=>false, "hidden"=>false,"pages"=>array("list"=>"annunci.php")),
|
||||
self::CATEGORY_FISCOELAVORO=>array("label"=>"Fisco e Lavoro","mainMenu"=>false, "hidden"=>true,"pages"=>array("list"=>"fiscoelavoro.php")),
|
||||
self::CATEGORY_SPETTACOLO=>array("label"=>"Spettacolo","mainMenu"=>false, "hidden"=>false,"pages"=>array("list"=>"spettacolo.php"))
|
||||
self::CATEGORY_FISCOELAVORO=>array("label"=>"Fisco e Lavoro","mainMenu"=>false, "hidden"=>true,"pages"=>array("list"=>"fiscoelavoro.php"))
|
||||
);
|
||||
|
||||
public static function getCollectionName(){
|
||||
|
||||
@@ -149,16 +149,17 @@ class GUIHandler {
|
||||
'Settembre', 'Ottobre', 'Novembre','Dicembre');
|
||||
$day = date("d");
|
||||
|
||||
$head = '<div class="headContainer">
|
||||
?>
|
||||
<div class="headContainer">
|
||||
<div class="upperBar">
|
||||
<div class="dateBar">'.$day." ".$mesi[date("n")]." ".date("Y").' - Aggiornato alle <span style="color:#f68235;">'.date("H:i").'</span></div>
|
||||
<div class="loginReg"><a href="#">LOGIN</a> | <a href="#">REGISTER</a></div>
|
||||
<div class="dateBar"><?php echo $day." ".$mesi[date("n")]." ".date("Y"); ?> - Aggiornato alle <span style="color:#f68235;"><?php echo date("H:i");?></span></div>
|
||||
<div class="loginReg"><a href="#">LOGIN</a> | <a href="#">REGISTRATI</a></div>
|
||||
<div class="socialBar">
|
||||
<a class="socialLink" href="www.facebook.com/"><div style="background-image:url(images/fb.png);"></div></a>
|
||||
<a class="socialLink" href="www.tritter.com/"><div style="background-image:url(images/twitter.png);"></div></a>
|
||||
<a class="socialLink" href="www.plus.google.com/"><div style="background-image:url(images/google.png);"></div></a>
|
||||
<a class="socialLink" href="www.linkedin.com/"><div style="background-image:url(images/linkedin.png);"></div></a>
|
||||
<a class="socialLink" href="www.youtube.com/"><div style="background-image:url(images/youtube.png);"></div></a>
|
||||
<a class="socialLink" href="https://www.facebook.com/ifattidinapoli" target="_blank"><div style="background-image:url(images/fb.png);"></div></a>
|
||||
<a class="socialLink" href="https://twitter.com/fattidinapoli" target="_blank"><div style="background-image:url(images/twitter.png);"></div></a>
|
||||
<a class="socialLink" href="https://plus.google.com/111810489585204500066/posts" target="_blank"><div style="background-image:url(images/google.png);"></div></a>
|
||||
<a class="socialLink" href="https://www.linkedin.com/in/antonio-pianelli-5970043b" target="_blank"><div style="background-image:url(images/linkedin.png);"></div></a>
|
||||
<a class="socialLink" href="https://www.youtube.com/user/tvnapoli" target="_blank"><div style="background-image:url(images/youtube.png);"></div></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="middleBar">
|
||||
@@ -167,8 +168,8 @@ class GUIHandler {
|
||||
<div class="rightBanner topBanner"><img src="images/ads.png" alt=""></div>
|
||||
</div>
|
||||
<div class="bottomBar" style="height:40px;width:1000px;"></div>
|
||||
</div>';
|
||||
echo $head;
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
public static function generateMenu(){
|
||||
@@ -254,5 +255,25 @@ class GUIHandler {
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
public static function getFacebookShareFunction(NotiziaModel $notizia){
|
||||
$url = self::getBaseUrl()."fbMetadata.php?id=".$notizia->id;
|
||||
return 'window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent("'.$url.'"))';
|
||||
}
|
||||
|
||||
public static function getTwitterShareFunction(NotiziaModel $notizia){
|
||||
$url = self::getBaseUrl()."fbMetadata.php?id=".$notizia->id;
|
||||
return 'window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent("'.$url.'"))';
|
||||
}
|
||||
|
||||
public static function getGooglePlusShareFunction(NotiziaModel $notizia){
|
||||
$url = self::getBaseUrl()."fbMetadata.php?id=".$notizia->id;
|
||||
return 'window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent("'.$url.'"))';
|
||||
}
|
||||
|
||||
public static function getLinkedinShareFunction(NotiziaModel $notizia){
|
||||
$url = self::getBaseUrl()."fbMetadata.php?id=".$notizia->id;
|
||||
return 'window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent("'.$url.'"))';
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -48,7 +48,7 @@ try{
|
||||
}
|
||||
|
||||
if(!is_null($media)){
|
||||
GlobalVariables::get("dao")->save($media);
|
||||
// GlobalVariables::get("dao")->save($media);
|
||||
DaoMediaHandler::addMedia($notizia, $media);
|
||||
GlobalVariables::get("dao")->save($notizia);
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ try{
|
||||
}
|
||||
|
||||
if (!is_null($media)){
|
||||
GlobalVariables::get("dao")->save($media);
|
||||
// GlobalVariables::get("dao")->save($media);
|
||||
DaoMediaHandler::deleteAllMedias($banner);
|
||||
DaoMediaHandler::setMainMediaToModel($banner, $media);
|
||||
|
||||
|
||||
@@ -86,7 +86,12 @@ try{
|
||||
|
||||
|
||||
GlobalVariables::get("dao")->save($notizia);
|
||||
GUIHandler::redirect("admin/myNotizie.php");
|
||||
if (AdminLoginManager::getLogged()->hasRole(AdminModel::ADMIN_TYPE_EDITORE_SUPERVISOR)){
|
||||
GUIHandler::redirectPost("admin/homeNotizie.php",array("id"=>$notizia->id));
|
||||
}
|
||||
else {
|
||||
GUIHandler::redirect("admin/myNotizie.php");
|
||||
}
|
||||
}
|
||||
}
|
||||
else{
|
||||
|
||||
@@ -70,7 +70,7 @@ try{
|
||||
|
||||
if (!is_null($media)){
|
||||
GlobalVariables::get("dao")->save($banner);
|
||||
GlobalVariables::get("dao")->save($media);
|
||||
// GlobalVariables::get("dao")->save($media);
|
||||
DaoMediaHandler::addMedia($banner, $media);
|
||||
// GlobalVariables::get("dao")->save($banner);
|
||||
GUIHandler::redirectPost("admin/homeBanner.php",array("id"=>$banner->id));
|
||||
|
||||
+39
-8
@@ -23,51 +23,81 @@ try {
|
||||
array('$and'=>array(array("isAnsa"=>true),array("status"=>NotiziaModel::STATUS_ACCEPTED))),
|
||||
array("sort"=>array("about.data"=>-1),"limit"=>2)
|
||||
);
|
||||
|
||||
$ansaIds = array();
|
||||
if (sizeof($ansaNews)>0){
|
||||
$ansaIds = array_map(function($ele){return new MongoId($ele->id);}, $ansaNews);
|
||||
|
||||
$ansaNews = array_map(function($ele){$ele->testo = strip_tags($ele->testo);$ele->sottotitolo = strip_tags($ele->sottotitolo); return $ele; }, $ansaNews);
|
||||
}
|
||||
|
||||
|
||||
|
||||
$politicaNews = GlobalVariables::get("dao")->query("NotiziaModel",
|
||||
array('$and'=>array(array("status"=>NotiziaModel::STATUS_ACCEPTED),array("category"=>NotiziaModel::CATEGORY_POLITICA),array('_id'=>array('$nin'=>$ansaIds)))),
|
||||
array("sort"=>array("about.data"=>-1),"limit"=>3)
|
||||
);
|
||||
if (sizeof($politicaNews)>0){
|
||||
$politicaNews = array_map(function($ele){$ele->testo = strip_tags($ele->testo);$ele->sottotitolo = strip_tags($ele->sottotitolo); return $ele; }, $politicaNews);
|
||||
}
|
||||
|
||||
$cronacaNews = GlobalVariables::get("dao")->query("NotiziaModel",
|
||||
array('$and'=>array(array("status"=>NotiziaModel::STATUS_ACCEPTED),array("category"=>NotiziaModel::CATEGORY_CRONACA),array('_id'=>array('$nin'=>$ansaIds)))),
|
||||
array("sort"=>array("about.data"=>-1),"limit"=>3)
|
||||
);
|
||||
if (sizeof($cronacaNews)>0){
|
||||
$cronacaNews = array_map(function($ele){$ele->testo = strip_tags($ele->testo);$ele->sottotitolo = strip_tags($ele->sottotitolo); return $ele; }, $cronacaNews);
|
||||
}
|
||||
|
||||
$sportNews = GlobalVariables::get("dao")->query("NotiziaModel",
|
||||
array('$and'=>array(array("status"=>NotiziaModel::STATUS_ACCEPTED),array("category"=>NotiziaModel::CATEGORY_SPORT),array('_id'=>array('$nin'=>$ansaIds)))),
|
||||
array("sort"=>array("about.data"=>-1),"limit"=>2)
|
||||
);
|
||||
if (sizeof($sportNews)>0){
|
||||
$sportNews = array_map(function($ele){$ele->testo = strip_tags($ele->testo);$ele->sottotitolo = strip_tags($ele->sottotitolo); return $ele; }, $sportNews);
|
||||
}
|
||||
|
||||
$culturaNews = GlobalVariables::get("dao")->query("NotiziaModel",
|
||||
array('$and'=>array(array("status"=>NotiziaModel::STATUS_ACCEPTED),array("category"=>NotiziaModel::CATEGORY_CULTURA),array('_id'=>array('$nin'=>$ansaIds)))),
|
||||
array("sort"=>array("about.data"=>-1),"limit"=>4)
|
||||
);
|
||||
if (sizeof($culturaNews)>0){
|
||||
$culturaNews = array_map(function($ele){$ele->testo = strip_tags($ele->testo);$ele->sottotitolo = strip_tags($ele->sottotitolo); return $ele; }, $culturaNews);
|
||||
}
|
||||
|
||||
$ristorantiNews = GlobalVariables::get("dao")->query("NotiziaModel",
|
||||
array('$and'=>array(array("status"=>NotiziaModel::STATUS_ACCEPTED),array("category"=>NotiziaModel::CATEGORY_RISTORANTI),array('_id'=>array('$nin'=>$ansaIds)))),
|
||||
array("sort"=>array("about.data"=>-1),"limit"=>4)
|
||||
);
|
||||
if (sizeof($ristorantiNews)>0){
|
||||
$ristorantiNews = array_map(function($ele){$ele->testo = strip_tags($ele->testo);$ele->sottotitolo = strip_tags($ele->sottotitolo); return $ele; }, $ristorantiNews);
|
||||
}
|
||||
|
||||
$lastsNews = GlobalVariables::get("dao")->query("NotiziaModel",
|
||||
array("status"=>NotiziaModel::STATUS_ACCEPTED),
|
||||
array("sort"=>array("about.data"=>-1),"limit"=>5)
|
||||
);
|
||||
if (sizeof($lastsNews)>0){
|
||||
$lastsNews = array_map(function($ele){$ele->testo = strip_tags($ele->testo);$ele->sottotitolo = strip_tags($ele->sottotitolo); return $ele; }, $lastsNews);
|
||||
}
|
||||
|
||||
|
||||
$gossipNews = GlobalVariables::get("dao")->query("NotiziaModel",
|
||||
array('$and'=>array(array("status"=>NotiziaModel::STATUS_ACCEPTED),array("category"=>NotiziaModel::CATEGORY_GOSSIP),array('_id'=>array('$nin'=>$ansaIds)))),
|
||||
array("sort"=>array("about.data"=>-1),"limit"=>2)
|
||||
);
|
||||
if (sizeof($gossipNews)>0){
|
||||
$gossipNews = array_map(function($ele){$ele->testo = strip_tags($ele->testo);$ele->sottotitolo = strip_tags($ele->sottotitolo); return $ele; }, $gossipNews);
|
||||
}
|
||||
|
||||
$lastViaggi = GlobalVariables::get("dao")->getFirst("NotiziaModel",
|
||||
array('$and'=>array(array("status"=>NotiziaModel::STATUS_ACCEPTED),array("category"=>NotiziaModel::CATEGORY_VIAGGI),array('_id'=>array('$nin'=>$ansaIds)))),
|
||||
array("sort"=>array("about.data"=>-1))
|
||||
);
|
||||
if (!is_null($lastViaggi)){
|
||||
$lastViaggi->testo = strip_tags($lastViaggi->testo);
|
||||
$lastViaggi->sottotitolo = strip_tags($lastViaggi->sottotitolo);
|
||||
}
|
||||
// var_dump($politicaNews);
|
||||
// if(sizeof($politicaNews)<=0){
|
||||
// echo "non trovateee!!!!";
|
||||
@@ -200,14 +230,14 @@ catch (Exception $ex){
|
||||
</div>
|
||||
<?php if(sizeof($culturaNews)>0){
|
||||
foreach ($culturaNews as $cultura){
|
||||
$string = (strlen($cultura->titolo) > 103) ? substr($cultura->titolo,0,100).'...' : $cultura->titolo;?>
|
||||
$string = (strlen($cultura->titolo) > 53) ? substr($cultura->titolo,0,50).'...' : $cultura->titolo;?>
|
||||
<div class="culturaNews"><?php
|
||||
$media = DaoMediaHandler::getMainMediaFromModel($cultura);
|
||||
if(!is_null($media)){?>
|
||||
<div class="culturaMainMedia mediaContent"><?php $media->renderMedia();?></div>
|
||||
<?php }?>
|
||||
<div class="newsTitle"><?php echo $string;?></div>
|
||||
<a href="articolo.php?id=<?php echo $cultura->id;?>" style="color:#3498d4;font-size:13px;"><div style="margin-bottom:5px;">Leggi</div></a>
|
||||
<div class="culturaTitle"><?php echo $string;?></div>
|
||||
<div class="culturaLink"><a href="articolo.php?id=<?php echo $cultura->id;?>">Leggi</a></div>
|
||||
</div>
|
||||
<?php }
|
||||
}?>
|
||||
@@ -221,14 +251,14 @@ catch (Exception $ex){
|
||||
<?php
|
||||
if(sizeof($ristorantiNews)>0){
|
||||
foreach ($ristorantiNews as $ristoranti){
|
||||
$string = (strlen($ristoranti->titolo) > 103) ? substr($ristoranti->titolo,0,100).'...' : $ristoranti->titolo;?>
|
||||
<div class="culturaNews"><?php
|
||||
$string = (strlen($ristoranti->titolo) > 53) ? substr($ristoranti->titolo,0,50).'...' : $ristoranti->titolo;?>
|
||||
<div class="ristorantiBlock"><?php
|
||||
$media = DaoMediaHandler::getMainMediaFromModel($ristoranti);
|
||||
if(!is_null($media)){?>
|
||||
<div class="culturaMainMedia mediaContent"><?php $media->renderMedia();?></div>
|
||||
<?php }?>
|
||||
<div class="newsTitle"><?php echo $string;?></div>
|
||||
<a href="articolo.php?id=<?php echo $ristoranti->id;?>" style="color:#3498d4;font-size:13px;"><div style="margin-bottom:5px;">Leggi</div></a>
|
||||
<div class="ristorantiTitle"><?php echo $string;?></div>
|
||||
<div class="ristorantiLink"><a href="articolo.php?id=<?php echo $ristoranti->id;?>">Leggi</a></div>
|
||||
</div>
|
||||
|
||||
<?php }
|
||||
@@ -249,7 +279,8 @@ catch (Exception $ex){
|
||||
$string = (strlen($last->titolo) > 103) ? substr($last->titolo,0,100).'...' : $last->titolo;?>
|
||||
<div class="lastContainer">
|
||||
<div class="lastData"><?php echo $data;?></div>
|
||||
<div class="lastTitle"><?php echo $string;?><a href="articolo.php?id=<?php echo $last->id;?>">Leggi</a></div>
|
||||
<div class="lastTitle"><?php echo $string;?></div>
|
||||
<div class="lastContinua" style="text-align:right;"><a href="articolo.php?id=<?php echo $last->id;?>">Leggi</a></div>
|
||||
</div>
|
||||
<?php }
|
||||
}?>
|
||||
|
||||
@@ -10,4 +10,20 @@ function openPagePost(page, request, blank){
|
||||
function bannerClick(banner, link){
|
||||
$.ajax({url: "stats/bannerClick.php", method: "POST", data: { "banner": banner, "source": window.location.href }, dataType: "html" });
|
||||
window.open(link);
|
||||
}
|
||||
|
||||
function shareOnFacebook(id){
|
||||
|
||||
// var link="http://www.ifattidinapoli.it/Giornale/all/"+sezione+".php?id="+id;
|
||||
var link="http://www.ifattidinapoli.it/Giornale/all/fbMetadata.php?id="+id;
|
||||
var url="http://www.facebook.com/sharer.php?u="+encodeURIComponent(link);
|
||||
window.open(url);
|
||||
}
|
||||
|
||||
|
||||
//http://twitter.com/home?source=ichc&status=%22Lucky+Fail%22 - http%3A%2F%2Ftwlol.com%2Ftw%2F%3Fv7-35104 %23lol+%23fail
|
||||
function twitterPost(sezione,id,titolo){
|
||||
var link=titolo+" - http://www.ifattidinapoli.it/Giornale/all/"+sezione+".php?id="+id;
|
||||
var url="http://twitter.com/home?source=ifdn&status="+encodeURIComponent(link);
|
||||
window.open(url);
|
||||
}
|
||||
@@ -156,7 +156,7 @@ body{font-family:lato, arial;}
|
||||
|
||||
.titleContainer > .categoryTitle{font-weight:bold; font-size:15px;}
|
||||
.titleContainer > .culturaLine{height: 3px;background-color: #339cd5;}
|
||||
.culturaNews{
|
||||
.ristorantiBlock, .culturaNews{
|
||||
text-align:center;
|
||||
margin-top: 5px;
|
||||
margin-bottom:10px;
|
||||
@@ -166,6 +166,7 @@ body{font-family:lato, arial;}
|
||||
border-left:0px;
|
||||
max-height:165px;
|
||||
}
|
||||
.ristorantiBlock:last-child{border-bottom:none;}
|
||||
.culturaMainMedia{
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
@@ -174,7 +175,8 @@ body{font-family:lato, arial;}
|
||||
}
|
||||
.culturaMainMedia > img{max-height: 100px;}
|
||||
|
||||
.culturaNews > .newsTitle{margin-bottom:5px;}
|
||||
.ristorantiTitle, .culturaTitle{font-weight: bold;text-align: left;font-size: 12px;}
|
||||
.ristorantiBlock .ristorantiLink > a, .culturaNews .culturaLink > a{color:#3498d4;font-size:13px;}
|
||||
.middleBanner{max-height:165px;}
|
||||
.middleBanner > img{max-height:100px;max-width:220px;}
|
||||
|
||||
@@ -187,11 +189,14 @@ body{font-family:lato, arial;}
|
||||
.middleRightBanner > img{max-width:220px; max-heigth:200px;}
|
||||
|
||||
.lastContainer{max-height:120px;margin-top:5px;margin-bottom:5px;border-bottom:dotted #C1B4B4 1px;}
|
||||
.lastContainer:last-child {border-bottom: none;}
|
||||
.lastData{font-size:12px;}
|
||||
.lastTitle{font-size:12px;font-weight:bold;margin-bottom:5px;}
|
||||
.lastTitle > a{color:#64bff0;}
|
||||
.lastTitle{font-size:12px;font-weight:bold;}
|
||||
.lastContinua{text-align:right; font-size:12px;font-weight:bold;padding-bottom:5px;}
|
||||
.lastContinua a{color:#64bff0;}
|
||||
|
||||
.gossipContainer{max-height:120px;margin-top:5px;margin-bottom:5px;border-bottom:dotted #C1B4B4 1px;cursor:pointer;}
|
||||
.gossipContainer#gossip_2{border-bottom:none;}
|
||||
.gossipTitle{margin-bottom:5px;font-weight:bold;font-size:20px;}
|
||||
.gossipSubtitle{margin-bottom:5px;color:#64bff0;font-weight:bold;font-size:15px;}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user