document.write("<div class=\"pastie\">\n");
document.write("  <link href=\"http://pastie.org/stylesheets/embed.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n");
document.write("  <link href=\"http://pastie.org/stylesheets/clean.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n");
document.write("  \n");
document.write("\n");
document.write("  \n");
document.write("  \n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("	\n");
document.write("	<div class=\"allcode\">\n");
document.write("		<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\n");
document.write("		<tr>\n");
document.write("			<td>\n");
document.write("				\n");
document.write("				<pre class=\"textmate-source-numbers\">1\n");
document.write("2\n");
document.write("3\n");
document.write("4\n");
document.write("5\n");
document.write("6\n");
document.write("7\n");
document.write("8\n");
document.write("9\n");
document.write("10\n");
document.write("11\n");
document.write("12\n");
document.write("13\n");
document.write("14\n");
document.write("15\n");
document.write("16\n");
document.write("17\n");
document.write("18\n");
document.write("19\n");
document.write("20\n");
document.write("21\n");
document.write("22\n");
document.write("23\n");
document.write("24\n");
document.write("25\n");
document.write("26\n");
document.write("27\n");
document.write("28\n");
document.write("29\n");
document.write("30\n");
document.write("31\n");
document.write("32\n");
document.write("33\n");
document.write("34\n");
document.write("35\n");
document.write("36\n");
document.write("37\n");
document.write("<\/pre>\n");
document.write("			<\/td>\n");
document.write("		<td>\n");
document.write("		<pre class=\"textmate-source\"><pre class=\"sunburst\"><span class=\'source source_php source_php_embedded source_php_embedded_block source_php_embedded_block_html\'>&lt;?php\n");
document.write("    <span class=\'meta meta_include meta_include_php\'><span class=\'keyword keyword_control keyword_control_import keyword_control_import_include keyword_control_import_include_php\'>include_once<\/span>(<span class=\'string string_quoted string_quoted_single string_quoted_single_php\'>\'<span class=\'meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php\'>class.twitter.php<\/span>\'<\/span>)<\/span>;\n");
document.write("\n");
document.write("    <span class=\'variable variable_other variable_other_php\'>$t<\/span> <span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_php\'>=<\/span> <span class=\'keyword keyword_other keyword_other_new keyword_other_new_php\'>new<\/span> <span class=\'support support_class support_class_php\'>twitter<\/span>;\n");
document.write("    <span class=\'variable variable_other variable_other_php\'>$t<\/span><span class=\'keyword keyword_operator keyword_operator_class keyword_operator_class_php\'>-&gt;<\/span><span class=\'variable variable_other variable_other_property variable_other_property_php\'>username<\/span> <span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_php\'>=<\/span> <span class=\'string string_quoted string_quoted_single string_quoted_single_php\'>\'<span class=\'meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php\'>usuario<\/span>\'<\/span>;\n");
document.write("    <span class=\'variable variable_other variable_other_php\'>$t<\/span><span class=\'keyword keyword_operator keyword_operator_class keyword_operator_class_php\'>-&gt;<\/span><span class=\'variable variable_other variable_other_property variable_other_property_php\'>password<\/span> <span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_php\'>=<\/span> <span class=\'string string_quoted string_quoted_single string_quoted_single_php\'>\'<span class=\'meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php\'>contraseña<\/span>\'<\/span>;\n");
document.write("\n");
document.write("    <span class=\'keyword keyword_control keyword_control_php\'>if<\/span> (<span class=\'support support_function support_function_construct support_function_construct_php\'>isset<\/span>(<span class=\'variable variable_other variable_other_global variable_other_global_php\'>$_POST<\/span>[<span class=\'string string_quoted string_quoted_single string_quoted_single_php\'>\'<span class=\'meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php\'>submit<\/span>\'<\/span>])){\n");
document.write("        <span class=\'variable variable_other variable_other_php\'>$estado<\/span> <span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_php\'>=<\/span> <span class=\'variable variable_other variable_other_global variable_other_global_php\'>$_POST<\/span>[<span class=\'string string_quoted string_quoted_single string_quoted_single_php\'>\'<span class=\'meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php\'>estado<\/span>\'<\/span>];\n");
document.write("        <span class=\'keyword keyword_control keyword_control_php\'>if<\/span> (<span class=\'support support_function support_function_builtin_functions support_function_builtin_functions_php\'>strlen<\/span>(<span class=\'variable variable_other variable_other_php\'>$estado<\/span>) <span class=\'keyword keyword_operator keyword_operator_comparison keyword_operator_comparison_php\'>&gt;<\/span> <span class=\'constant constant_numeric constant_numeric_php\'>0<\/span>)\n");
document.write("            <span class=\'variable variable_other variable_other_php\'>$t<\/span><span class=\'keyword keyword_operator keyword_operator_class keyword_operator_class_php\'>-&gt;<\/span><span class=\'meta meta_function-call meta_function-call_object meta_function-call_object_php\'>update<\/span>(<span class=\'variable variable_other variable_other_php\'>$estado<\/span>);\n");
document.write("    }\n");
document.write("<span class=\'source source_php\'>?<\/span>&gt;<\/span>\n");
document.write("&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;\n");
document.write("&lt;html&gt;\n");
document.write("  &lt;head&gt;\n");
document.write("    &lt;title&gt;&lt;/title&gt;\n");
document.write("    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;&gt;\n");
document.write("  &lt;/head&gt;\n");
document.write("  &lt;body&gt;\n");
document.write("    &lt;form name=&quot;update&quot; action=&quot;twitter.php&quot; method=&quot;POST&quot;&gt;\n");
document.write("        &lt;div&gt;&lt;textarea name=&quot;estado&quot; id=&quot;estado&quot; rows=&quot;3&quot; cols=&quot;50&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;\n");
document.write("        &lt;input name=&quot;submit&quot; type=&quot;submit&quot; value=&quot;Update&quot; /&gt;\n");
document.write("    &lt;/form&gt;\n");
document.write("    &lt;div&gt;\n");
document.write("        <span class=\'source source_php source_php_embedded source_php_embedded_block source_php_embedded_block_html\'>&lt;?php\n");
document.write("        <span class=\'variable variable_other variable_other_php\'>$data<\/span> <span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_php\'>=<\/span> <span class=\'variable variable_other variable_other_php\'>$t<\/span><span class=\'keyword keyword_operator keyword_operator_class keyword_operator_class_php\'>-&gt;<\/span><span class=\'meta meta_function-call meta_function-call_object meta_function-call_object_php\'>userTimeline<\/span>();\n");
document.write("        <span class=\'support support_function support_function_construct support_function_construct_php\'>echo<\/span> <span class=\'string string_quoted string_quoted_double string_quoted_double_php\'>&quot;<span class=\'meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_double meta_string-contents_quoted_double_php\'>&lt;lu&gt;<\/span>&quot;<\/span>;\n");
document.write("       \n");
document.write("        <span class=\'keyword keyword_control keyword_control_php\'>foreach<\/span>(<span class=\'variable variable_other variable_other_php\'>$data<\/span> <span class=\'keyword keyword_operator keyword_operator_logical keyword_operator_logical_php\'>as<\/span> <span class=\'variable variable_other variable_other_php\'>$tweet<\/span>){\n");
document.write("            <span class=\'support support_function support_function_construct support_function_construct_php\'>echo<\/span> <span class=\'string string_quoted string_quoted_double string_quoted_double_php\'>&quot;<span class=\'meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_double meta_string-contents_quoted_double_php\'>&lt;li&gt;<\/span>&quot;<\/span><span class=\'keyword keyword_operator keyword_operator_string keyword_operator_string_php\'>.<\/span> <span class=\'variable variable_other variable_other_php\'>$tweet<\/span><span class=\'keyword keyword_operator keyword_operator_class keyword_operator_class_php\'>-&gt;<\/span><span class=\'variable variable_other variable_other_property variable_other_property_php\'>text<\/span> <span class=\'keyword keyword_operator keyword_operator_string keyword_operator_string_php\'>.<\/span> <span class=\'string string_quoted string_quoted_double string_quoted_double_php\'>&quot;<span class=\'meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_double meta_string-contents_quoted_double_php\'>&lt;/li&gt;<\/span>&quot;<\/span>;\n");
document.write("        }\n");
document.write("        <span class=\'support support_function support_function_construct support_function_construct_php\'>echo<\/span> <span class=\'string string_quoted string_quoted_double string_quoted_double_php\'>&quot;<span class=\'meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_double meta_string-contents_quoted_double_php\'>&lt;/lu&gt;<\/span>&quot;<\/span>;\n");
document.write("        <span class=\'source source_php\'>?<\/span>&gt;<\/span>\n");
document.write("    &lt;/div&gt;\n");
document.write("  &lt;/body&gt;\n");
document.write("&lt;/html&gt;\n");
document.write("<\/pre><\/pre>\n");
document.write("		<\/td>\n");
document.write("		<\/tr>\n");
document.write("		<\/table>\n");
document.write("	\n");
document.write("	<\/div>\n");
document.write("\n");
document.write("\n");
document.write("  \n");
document.write("  \n");
document.write("  <div class=\"credit\">\n");
document.write("    <div class=\"buttons\">\n");
document.write("      <a href=\"http://pastie.org/pastes/627602.txt\">\n");
document.write("      <img src=\"http://pastie.org/images/view.png\" height=\"20\" width=\"67\" /><\/a>\n");
document.write("    <\/div>\n");
document.write("  \n");
document.write("    <a href=\"http://pastie.org/627602\">Pastie #627602<\/a> linked directly from <a href=\"http://pastie.org/\">Pastie<\/a>.\n");
document.write("  <\/div><\/div>");
