09.08.2016, 16:05
PHP код:
publics: CallBackCasino()
{
new rows, fields;
cache_get_data(rows, fields);
if(!rows) return printf("Не загружено");
{
cache_get_field_content(CasinoInfo[0][caKrupie], "Krupie", CasinoInfo[0][caKrupie], dbHandle, strlen(CasinoInfo[0][caKrupie]));
cache_get_field_content(CasinoInfo[0][caKrupie2], "Krupie2", CasinoInfo[0][caKrupie2], dbHandle, strlen(CasinoInfo[0][caKrupie2]));
cache_get_field_content(CasinoInfo[0][caKrupie3], "Krupie3", CasinoInfo[0][caKrupie3], dbHandle, strlen(CasinoInfo[0][caKrupie3]));
cache_get_field_content(CasinoInfo[0][caKrupie4], "Krupie4", CasinoInfo[0][caKrupie4], dbHandle, strlen(CasinoInfo[0][caKrupie4]));
cache_get_field_content(CasinoInfo[0][caKrupie5], "Krupie5", CasinoInfo[0][caKrupie5], dbHandle, strlen(CasinoInfo[0][caKrupie5]));
cache_get_field_content(CasinoInfo[0][caKrupie6], "Krupie6", CasinoInfo[0][caKrupie6], dbHandle, strlen(CasinoInfo[0][caKrupie6]));
cache_get_field_content(CasinoInfo[0][caKrupie7], "Krupie7", CasinoInfo[0][caKrupie7], dbHandle, strlen(CasinoInfo[0][caKrupie7]));
cache_get_field_content(CasinoInfo[0][caKrupie8], "Krupie8", CasinoInfo[0][caKrupie8], dbHandle, strlen(CasinoInfo[0][caKrupie8]));
cache_get_field_content(CasinoInfo[0][caKrupie9], "Krupie9", CasinoInfo[0][caKrupie9], dbHandle, strlen(CasinoInfo[0][caKrupie9]));
cache_get_field_content(CasinoInfo[0][caKrupie10], "Krupie10", CasinoInfo[0][caKrupie10], dbHandle, strlen(CasinoInfo[0][caKrupie10]));
cache_get_field_content(CasinoInfo[0][caManager], "Manager", CasinoInfo[0][caManager], dbHandle, strlen(CasinoInfo[0][caManager]));
cache_get_field_content(CasinoInfo[0][caManager2], "Manager2", CasinoInfo[0][caManager2], dbHandle, strlen(CasinoInfo[0][caManager2]));
cache_get_field_content(CasinoInfo[0][caManager3], "Manager3", CasinoInfo[0][caManager3], dbHandle, strlen(CasinoInfo[0][caManager3]));
printf("Загружно");
}
}