Jump to content

Search the Community

Showing results for tags 'description'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. I try to put the description in the movies on the front page of the website but can not get this code line to work what's wrong ?? i am trying to put a description under the movies on my frontpage but i cant get i to work hvat is wrong the line i am using : <?php if ($this->video['description'] != ''): ?> <div class="video-container"> <h2 class="description"><?php echo e($this->video['description'] ); ?></h2> under the movie ther i playing it is working but wen i put the same line in her on the fronpage it is not working foreach ($this->videos as $video): ?> <div id="video-<?php echo $video['video_id']; ?>" class="video"> <a href="<?php echo RELATIVE_URL,'/',$video['video_id'],'/',$video['slug']; ?>/" title="<?php echo e($video['title']); ?>"> <img src="<?php echo THUMB_URL,'/',path($video['video_id']),'/',$video['thumb']; ?>.jpg" alt="<?php echo e($video['title']); ?>" id="preview-video-<?php echo $video['video_id'].'-'.$video['thumb'].'-'.$video['thumbs']; ?>" /><br /> <h5><?php echo e(VText::truncate_chars($video['title'], 50)); ?></h5> <?php if ($video['ext'] == 'mp4'): ?><img src="<?php echo TPL_REL; ?>/images/hd.png" class="watermark" alt="" /><?php endif; ?> <?php if ($video['premium'] == '1'): ?><span class="watermark transparent">Premium</span><?php endif; ?> </a> <span class="duration"><?php echo VDate::duration($video['duration']); ?></span> <div class="rating_bar"><div style="width:<?php echo round($video['rating']*20); ?>%"></div></div> <span class="timeline clear"><?php echo VDate::nice($video['add_time']); ?></span> <span class="views"><?php echo $video['total_views'],' '; if ($video['total_views'] == '1'): echo __('view'); else: echo __('views'); endif; ?></span> <?php if ($this->video['description'] != ''): ?> <div class="video-container"> <h2 class="description"><?php echo e($this->video['description'] ); ?></h2> <div class="clear"></div>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.