[Nulled] » Nulled Warez Scripts » CMS (Site management systems) » DataLife Engine » DLE hacks » Pages like a movie search ru for dle
December 26 2022

Pages like a movie search ru for dle

Probably many people have seen how the pages on kinopoisk are arranged.

That is, the page on the movie itself has the form.

Warning! You are not allowed to view this text.

case "pm" :
include ENGINE_DIR . '/modules/pm.php';
break;


Connecting the module


case "posters" :
include ENGINE_DIR . '/modules/posters.php';
break;


Creating a file posters.php and throw it in engine/modules

We write the code in the file.


<?php
$id_news = $_GET['id_news']; //successor of our news id

$row = $db->query("SELECT * FROM ".PREFIX."_post WHERE id='$id_news'");
while($list = $db->get_row( $row ))
{

What to output for example $title = $list['title']; will pull the name of the news from the database

}

What to include in the template. for example $tpl->set( '{title}', $title); Will output the name of the news

$tpl->load_template( 'fullstory.tpl' );  //Your template is in the theme folder.
            
$tpl->compile( 'content' );
$tpl->clear();
?>



In the file .htaccess is being added


RewriteRule ^film/([0-9]+)/posters(/?)+$ index.php?do=posters&id_news=$1 [L]


Now follow the link http://ваш <url> website/film/id news/posters
There will be a page with our module that will display any information by the news id.To make other pages, we do it first for each page.

We are changing the name of the files and the module!






Information

Visitors who are in the group Guests they can't download files.
Log in to the site under your login and password or if you are a new user go through the process registrations on the website.

Comments:

This publication has no comments yet. You can be the first!

Information the publication:

Related News

26 December 2022
DLE modules
Grabber Parser TMDB

MultiLanguage: Multilingual grabber-parser based on films and TV series TMDB - an analogue of Kinopoisk and IMDB

Read more
26 December 2022
DLE modules
Automatic Movie Import

The Automatic Movie Import for DLE module was developed for DLE 14 UTF-8. A free script for an auto-filled site.

Read more
13 December 2022
Joomla Templates
JA Flix v2.0.0

JA Flix is a multifunctional Joomla template designed for movie news, movie reviews, multimedia and magazine

Read more
26 December 2022
DLE hacks
Additional fields by

Title: Additional fields by category [DLE ALL] Author: everyone who thought of it The author of this method:

Read more
14 December 2022
DLE templates
KinoBar for DLE 14.0

Carefully and professionally prepared KinoBar template for DLE 14.0 web studio Redissx design with original and

Read more

Information

Users of 🆅🅸🆂🅸🆃🅾🆁 are not allowed to comment this publication.

Site Search

Site Menu


☑ Websites Scripts

Calendar

«    November 2024    »
MonTueWedThuFriSatSun
 123
45678910
11121314151617
18192021222324
252627282930 

Advertisement

Survey on the website

Evaluate the work of the site
 

Statistics

  • +20 Total articles 6747
  • +14 Comments 4083
  • +32 Users : 5825