Arkadaşlar Css ile genişletemedim dedim belki php dosyasındadır sorun
Kodları verıyorum bi incelerseniz
Öğeyi denetle kısmında kapak adı COVER dır
widht ile genişletmeye çalışınca sanki 2 tarafda duvar var genişlemiyor.
//<--- * User * --->
$count = count( $this->data );
//<--- * Last Photos And Videos * --->
$countPhotosVideos = count( $this->lastPhotosVideos );
if( isset( $this->data ) && $count != 0 && $this->checkBlocked[0]['status'] != 1 ) :
//<-- Posts
$countPost = count( $this->posts );
//<<-- Favorites
$countFavs = count( $this->postsFavs );
//<<<-- Followers
$countFollowers = count( $this->_getFollowers );
//<<<-- Following
$countFollowing = count( $this->_getFollowing );
//<<<<- * USER BLOCK * --->>>
//<<<-- Following
$countBlock = count( $this->checkBlock );
if( $countBlock == 1 && $this->checkBlock[0]['status'] == 1 ) {
$user_bloqueado = $_SESSION['LANG']['unlock_user'];
} else {
$user_bloqueado = $_SESSION['LANG']['block_user'];
}
//<<<--- * Count Data * --->>>
if( $_GET['action'] == 'favorites' ) {
$countData = $countFavs;
} else if( $_GET['action'] == 'followers' ) {
$countData = $countFollowers;
} else if( $_GET['action'] == 'following' ) {
$countData = $countFollowing;
} else {
$countData = $countPost;
}
//<<<--- * Action Url * --->>>
if( isset( $_GET['action'] ) ) {
$actionUrl = '/'.$_GET['action'];
}
/*
* **************
* HEADER
* **************
*/
include 'views/inc/header.php'; ?>
info->cover_image != '' ) : ?> style=" background: url(info->cover_image; endif; ?>)
center center no-repeat #111 ;">
info->cover_image != '' ) : ?>
if( isset( $_SESSION['authenticated'] ) ):
if( $_SESSION['authenticated'] != $this->info->id && $this->checkBlock[0]['status'] == 0 ):
?>
followingActive->status == 1 ): ?>
data-id="info->id; ?>"
data-follow=""
data-unfollow=""
data-following=""
class="followBtn follow_button follow_active">
data-id="info->id; ?>"
data-follow=""
data-unfollow=""
data-following=""
class="followBtn follow_button">
followingActive->status ?>
info->id ?>
info->id ): ?>
else: ?>
info->id ): ?>
info->id ) : ?>
@info->username; ?>
info->id && empty( $_GET['action'] ) ) : ?>
if( $this->info->mode == 0 && $this->followingActive->status == 0 && $_SESSION['authenticated'] != $this->info->id ):
else:
if( $countPhotosVideos != 0 ) : ?>
→
foreach ( $this->lastPhotosVideos as $key ) {
++$num;
if( $num % 3 ) {
$style = null;
} else {
$style = ' class="last"';
}
/* Url */
$urlStatus = URL_BASE.$this->info->username.'/status/'.$key['id'];
if( $key['photo'] != '' ) {
$img = '';
$url = 'href="'.URL_BASE.'upload/'.$key['photo'].'"';
$lightbox = 'rel="lightbox[photos]"';
$spanVideo = null;
$title = null;
$typeMedia = 'media_galery';
} else if( $key['url_soundcloud'] != '' ) {
$img = '';
$url = 'href="https://w.soundcloud.com/player/?url='.$key['url_soundcloud'].'"';
$lightbox = null;
$target = 'target="_blank"';
$spanVideo = '';
$title = null;
$typeMedia = 'soundcloud media_galery';
} else {
if( $key['video_site'] == 'youtube' ) {
$key['video_url'] = 'http://www.youtube.com/v/'.$key['video_code'].'?rel=0&wmode=transparent';
} else {
$key['video_url'] = 'http://player.vimeo.com/video/'.$key['video_code'].'';
}
$img = '';
$url = 'href="'.$key['video_url'].'"';
$lightbox = null;
$target = 'target="_blank"';
$spanVideo = '';
$title = null;
$typeMedia = $key['video_site'].' media_galery';
}
?>
- >
>
}//<--- FOREACH ?>
//<---- * advertising * --->
include 'views/inc/advertising.php';
if( Session::get( 'authenticated' ) ) :
//<---- * who_follow * --->
include 'views/inc/who_to_follow.php';
endif;
//<---- * trending * --->
include 'views/inc/trending.php';
?>
info->avatar ) ) : ?>
else:
?>
endif;//<<--- File Exists ?>
info->name ); ?>
info->type_account == '1' ): ?>
@info->username; ?>
followActive->status == 1 ): ?>
info->bio != '' ) :
$styleP = ' style="margin: 0; border: none; padding: 0;"';
?>
if( $this->getCountryUser->country != FALSE ) {
echo ''.$this->getCountryUser->country.'
';
}
echo _Function::CheckText( $this->info->bio ); ?>
else:
$styleP = null;
endif; ?>
info->location != '' || $this->info->website != '' ) : ?>
if( $this->info->location != '' && $this->info->website != '' ) :
$separator = ' - ';
endif;
?>
>
info->location ) ) . $separator; ?> info->website ); ?>
titleH4; ?>
<script>jquery-1.7.1.min.js"></script>
<script>jquery.easing.1.3.js"></script>
<script>jquery.placeholder.1.1.1.min.js"></script>
<script>jquery-ui-1.8.17.custom.min.js"></script>
<script>functions.js"></script>
<script>count.js"></script>
<script>add.post.js"></script>
<script>jquery.form.js"></script>
<script>timeago/jqueryTimeago_.js"></script>
<script>jquery.colorbox.js"></script>
<script>jquery.scroll.user.js"></script>
<script>login.sign.up.js"></script>
&& $_GET['action'] == ''
|| Session::get( 'authenticated' )
&& $_SESSION['authenticated'] != $this->info->id ) : ?>
<script>mentions.js"></script>
<script>
$(".media_galery").colorbox({
rel:'galery'
});
$(".youtube").colorbox({iframe:true, innerWidth:640, innerHeight:390});
$(".vimeo").colorbox({iframe:true, innerWidth:500, innerHeight:409});
$(".soundcloud").colorbox({iframe:true, innerWidth:500, innerHeight:160, height: false });
$(".galeryAjax").colorbox({
imgError : ''
});
$(".galeryAvatar").colorbox({
height: '100%',
imgError : ''
});
$('.posts').scrollPagination({
nop : 10,
offset : 0,
error : '',
delay : 500,
scroll : true,
query : 0,
file :'_file; ?>',
_userId : info->id; ?>,
totalGlobal :
});
jQuery(document).ready(function($) {
$('#top').live('click',function()
{
$('body,html').animate({ scrollTop: 0
}, 800);
});
//=== PLACEHOLDER
$(function(){
$(':input[placeholder]').placeholder();
});
//====== TIME AGO
$('#reply_post').live('hover', function(){
if ($(this).data('hascharcount') == undefined) {
$(this).data('hascharcount', true).charCount({ allowed: , warning: 10 });
}
});
$('#message').live('hover', function(){
if ($(this).data('hascharcount') == undefined) {
$(this).data('hascharcount', true).charCount({ allowed: , warning: 10 });
}
});
//================ * COUNTER * =============//
$('#add_post').live('hover', function(){
if ($(this).data('hascharcount') == undefined ) {
$(this).data('hascharcount', true).charCount({ allowed: , warning: 10, css: 'counter_2' });
}
});
//=================== * UPLOAD * ===============//
$('#upload').live('change', function(){
$('').insertBefore('#upload');
$('#button_add').attr({'disabled' : 'true'}).css({'opacity':'0.5','cursor':'default'});
$('#add_post').attr({'disabled' : 'true'}).css({'opacity':'0.5'});
(function() {
$("#form_add_post").ajaxForm({
dataType : 'json',
success: function(e) {
if( e ) {
$('#add_post').removeAttr('disabled').css({'opacity':'1'});
if( e.error == 1 ) {
$('#loader_gif').remove();
}
$('#wrapper_preview').show();
$('#container_preview').html( ''+ e.output +'' ).show();
$('#upload').val('');
if( e.error == 0 ) {
$('#loader_gif').css({background:'url("thumb/60-60-tmp/'+ e.photo +'") center center no-repeat #FFF'}).addClass('deletePhoto').attr( 'data',e.photo ).attr( 'title','' );
$('#wrapper_preview').show();
$('#photoId').val(e.photo);
$('#button_add').removeAttr('disabled').css({'opacity':'1','cursor':'pointer'});
}
}
else {
jAlert('');
$('#upload').val('');
$('#button_add').removeAttr('disabled').css({'opacity':'1','cursor':'pointer'});
$('#add_post').removeAttr('disabled').css({'opacity':'1'});
$('#loader_gif').remove();
}
}//<----- SUCCESS
}).submit();
})(); //<--- FUNCTION %
});//<--- LIVE
//===== DELETE PHOTO
$(".deletePhoto").live('click',function(){
//=== PARAM
var element = $(this);
var id = element.attr("data");
var info = 'token_id=' + id;
var add_post_ = $('#add_post').val();
var video_link_ = $('#video_link').val();
var song_link_ = $('#song_link').val();
$.ajax({
type: "GET",
url: "public/ajax/delete_id_photo.php",
data: info,
success: function(output){
if( output == 'TRUE' ) {
if( add_post_ == 0 && video_link_ == 0 && song_link_ == 0 ) {
$('#button_add').attr({'disabled' : 'true'}).css({'opacity':'0.5','cursor':'default'});
}
$('#photoId').val('');
element.fadeOut('fast',function(){
element.remove();
});//<-- FUNCTION
}
}
});//<-- AJAX
});//<--- CLICK
});//<-------- * DOM * ------>
</script>