Procedural File: admin.php
Source Location: /php/auth/liveuser/admin.php
Page Details:
Includes:
require_once(
'conf.php')
[line 5]
Administration page
require_once('HTML/Template/IT.php')
[line 8]
require_once(
'createlu.php')
[line 6]
require_once(
'liveuser_rights.php')
[line 7]
getNewsContent
string getNewsContent(
object &$auth_db, [ $news = null], int $id, string $content)
[line 113]
Get a news content.
Tags:
- return - content as a string
Parameters
-
object
&$auth_db
-
a reference to a db connection object
-
int
$id
-
news id
-
string
$content
-
the new content
-
$news
-
[ Top ]
getNewsList
void getNewsList(
object &$auth_db, string $category)
[line 63]
Returns news list for a given category
Parameters
-
object
&$auth_db
-
a reference to a db connection object
-
string
$category
-
news category
[ Top ]
insertNews
void insertNews(
object &$auth_db, string $title, string $content, $user)
[line 178]
Insert news in database
Parameters
-
object
&$auth_db
-
a reference to a db connection object
-
string
$title
-
news title
-
string
$content
-
the new content
-
$user
-
[ Top ]
updateNewsContent
void updateNewsContent(
object &$auth_db, &$id, $title, string $content, $user, int $id)
[line 155]
Update a news content
Parameters
-
object
&$auth_db
-
a reference to a db connection object
-
int
$id
-
news id
-
string
$content
-
the new content
-
&$id
-
-
$title
-
-
$user
-
[ Top ]