• warning: Declaration of views_handler_argument::init(&$view, &$options) should be compatible with views_handler::init(&$view, $options) in /var/www/modules/views/handlers/views_handler_argument.inc on line 0.
  • warning: Declaration of views_handler_filter::options_validate(&$form, &$form_state) should be compatible with views_handler::options_validate($form, &$form_state) in /var/www/modules/views/handlers/views_handler_filter.inc on line 0.
  • warning: Declaration of views_handler_filter::options_submit(&$form, &$form_state) should be compatible with views_handler::options_submit($form, &$form_state) in /var/www/modules/views/handlers/views_handler_filter.inc on line 0.
  • warning: Declaration of views_handler_filter_boolean_operator::value_validate(&$form, &$form_state) should be compatible with views_handler_filter::value_validate($form, &$form_state) in /var/www/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 0.
  • warning: Declaration of views_plugin_row::options_validate($form, &$form_state) should be compatible with views_plugin::options_validate(&$form, &$form_state) in /var/www/modules/views/plugins/views_plugin_row.inc on line 0.
  • warning: Declaration of views_plugin_row::options_submit($form, &$form_state) should be compatible with views_plugin::options_submit(&$form, &$form_state) in /var/www/modules/views/plugins/views_plugin_row.inc on line 0.
OLIMPIADA NAŢIONALĂ DE MATEMATICĂ
EDIŢIA 66, BUCUREȘTI, 6-10 APRILIE 2015, ÎNSOȚITORI

'; $conn=mysql_connect($hostname_ssmr, $username_ssmr, $password_ssmr); $db_selected =mysql_select_db($database_ssmr,$conn); $sql = "SET NAMES 'utf8'"; mysql_query($sql, $conn); $judet=$_POST["judet"]; if(!$judet) $judet='0'; echo "
"; echo "\n"; $query="SELECT distinct judet from insotitori order by judet"; $result=mysql_query($query,$conn); $cateRanduri=mysql_num_rows($result); printf(" Judet "); echo "  

"; echo "
"; $query_string=""; if($judet<>"0") $query_string=$query_string.' and judet="'.$judet.'" '; $query='SELECT nume_prenume,judet FROM insotitori where 1=1'.$query_string.' order by judet, nume_prenume'; $result=mysql_query($query,$conn); $cateRanduri=mysql_num_rows($result); if ($judet<>"0") echo ' Judetul: '.$judet.'

'; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; //tabelul in care pune tot; $crt=0; for($i=0;$i<$cateRanduri;$i++) //initial cateranduri=0; si nu intra aici; { $nume_prenume=""; $judet=""; $nume_prenume=mysql_result($result,$i,0); $judet=mysql_result($result,$i,1); $crt=$crt+1; echo ''; echo ''; echo ''; echo ''; echo ''; } printf("
Nr.Nume și prenumeJudeț
'.$crt.'. '.$nume_prenume.''.$judet.'
"); mysql_close($conn); ?>