6 require "channels.php";
7 require "programs.php";
12 dbg( "NonameTV" , $dconf );
16 // connect to main database
18 switch( $dconf['dbtype'] ){
20 $myc = sql_doconnect();
29 <meta http
-equiv
="Content-Type" content
="text/html; charset=utf-8" />
30 <link href
="css/nonametv.css" rel
=stylesheet
>
33 <body bgcolor
="#FFFFFF" text
="#000000">
40 if( $_REQUEST['what'] ) $what = $_REQUEST['what'];
46 $cmd = $dconf['sudo'] . " -u " . $dconf['nonametvuser'] . " " . $dconf['scriptexportchannels'];
52 print "<h3>Executing: " . $cmd . "</h3>\n";
57 // disconnect from main database
59 switch( $dconf['dbtype'] ){
61 sql_dodisconnect( $myc );