-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsinger_bio.php
More file actions
48 lines (32 loc) · 1.48 KB
/
singer_bio.php
File metadata and controls
48 lines (32 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
* Allomani Audio & Video (Songs) v3.0
*
* @package Allomani.Songs
* @version 3.0
* @copyright (c) 2006-2018 Allomani , All rights reserved.
* @author Ali Allomani <info@allomani.com>
* @link http://allomani.com
* @license GNU General Public License version 3.0 (GPLv3)
*
*/
require("global.php");
require(CWD . "/includes/framework_start.php");
//---------------------------------------------------------
$qr=db_query("select * from songs_singers where id='$id'");
unset($data_singer);
$data = db_fetch($qr);
db_query("update songs_singers set views=views+1 where id='$id'");
$data_singer = $data;
$data_cat = db_qr_fetch("select * from songs_cats where id='$data[cat]'");
print "<span class='path'> <img src='images/arrw.gif' border=0> <a class=path_link href=\"".cat_url($data_cat['id'],$data_cat['page_name'],$data_cat['name'])."\" title=\"$data_cat[name]\">$data_cat[name]</a> $phrases[path_sep] <a class=path_link href=\"".singer_url($data['id'],$data['page_name'],$data['name'])."\" title=\"$data[name]\">$data[name]</a> $phrases[path_sep] $phrases[bio]";
print"<br><br> </span>" ;
compile_hook('songs_after_path_links');
run_template('singer_info_table');
compile_hook('songs_after_singer_table');
open_table($phrases['bio']);
print $data_singer['details'];
close_table();
//---------------------------------------------
require(CWD . "/includes/framework_end.php");
?>